diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index fcaa7b18e..74fe8617b 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -7252,6 +7252,7 @@ tryexec(IF_FEATURE_SH_STANDALONE(int applet_no,) char *cmd, char **argv, char ** | |||
7252 | #if ENABLE_FEATURE_SH_STANDALONE | 7252 | #if ENABLE_FEATURE_SH_STANDALONE |
7253 | if (applet_no >= 0) { | 7253 | if (applet_no >= 0) { |
7254 | if (APPLET_IS_NOEXEC(applet_no)) { | 7254 | if (APPLET_IS_NOEXEC(applet_no)) { |
7255 | clearenv(); | ||
7255 | while (*envp) | 7256 | while (*envp) |
7256 | putenv(*envp++); | 7257 | putenv(*envp++); |
7257 | run_applet_no_and_exit(applet_no, argv); | 7258 | run_applet_no_and_exit(applet_no, argv); |