aboutsummaryrefslogtreecommitdiff
path: root/src/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc.c')
-rw-r--r--src/rc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc.c b/src/rc.c
index 76335df8..2f1f7bcf 100644
--- a/src/rc.c
+++ b/src/rc.c
@@ -486,7 +486,7 @@ static void sulogin (bool cont)
}
#endif
- newenv = rc_filter_env ();
+ newenv = rc_env_filter ();
if (cont) {
int status = 0;
@@ -823,8 +823,8 @@ int main (int argc, char **argv)
/* Ensure our environment is pure
Also, add our configuration to it */
- env = rc_filter_env ();
- tmplist = rc_make_env ();
+ env = rc_env_filter ();
+ tmplist = rc_env_config ();
rc_strlist_join (&env, tmplist);
rc_strlist_free (tmplist);