Move rc_env_filter and rc_env_config out of librc and into rc
This commit is contained in:
@ -1046,8 +1046,8 @@ int runscript (int argc, char **argv)
|
||||
if ((softlevel = rc_xstrdup (getenv ("RC_SOFTLEVEL"))) == NULL) {
|
||||
/* Ensure our environment is pure
|
||||
Also, add our configuration to it */
|
||||
tmplist = rc_env_config ();
|
||||
env = rc_env_filter ();
|
||||
tmplist = env_config ();
|
||||
env = env_filter ();
|
||||
rc_strlist_join (&env, tmplist);
|
||||
rc_strlist_free (tmplist);
|
||||
tmplist = NULL;
|
||||
|
Reference in New Issue
Block a user