commit | 7df28bbb8fa3ba2878c288401c898ec477e55df1 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Fri Jun 18 14:23:47 2010 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Fri Jun 18 14:23:47 2010 +0200 |
tree | 0fb82bf1302e387ea08e0dc5a5733dae683f5acc | |
parent | 1ed2fb40c919a25fe6920680cf898d0b4870c60e [diff] [blame] |
ash: fix unset in standalone mode Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/shell/ash.c b/shell/ash.c index fcaa7b1..74fe861 100644 --- a/shell/ash.c +++ b/shell/ash.c
@@ -7252,6 +7252,7 @@ #if ENABLE_FEATURE_SH_STANDALONE if (applet_no >= 0) { if (APPLET_IS_NOEXEC(applet_no)) { + clearenv(); while (*envp) putenv(*envp++); run_applet_no_and_exit(applet_no, argv);