diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-02-24 18:10:09 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-26 11:31:40 +0300 |
commit | 99709ab03387ca623e3fc1cac69d242ed44da45c (patch) | |
tree | de266d18b15ab43efc0c46dd72f9d926db129c13 /loginutils | |
parent | 7e7728cd66482f6898e3896bf05a12f0f8137e79 (diff) |
crontab: use setup_environment
function old new delta
setup_environment 184 198 +14
.rodata 131770 131747 -23
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 14/-23) Total: -9 bytes
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 7a6f246ad..974125d88 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -478,7 +478,7 @@ int login_main(int argc UNUSED_PARAM, char **argv) if (!tmp || !*tmp) tmp = DEFAULT_SHELL; /* setup_environment params: shell, clear_env, change_env, pw */ - setup_environment(tmp, !(opt & LOGIN_OPT_p), 1, pw); + setup_environment(tmp, !(opt & LOGIN_OPT_p), SETUP_ENV_CHANGEENV, pw); motd(); |