diff options
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 8c0f3bd8d..8211c766f 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -10011,7 +10011,9 @@ evalcommand(union node *cmd, int flags) | |||
10011 | switch (cmdentry.cmdtype) { | 10011 | switch (cmdentry.cmdtype) { |
10012 | default: { | 10012 | default: { |
10013 | 10013 | ||
10014 | #if ENABLE_FEATURE_SH_NOFORK && NUM_APPLETS > 1 | 10014 | #if ENABLE_FEATURE_SH_STANDALONE \ |
10015 | && ENABLE_FEATURE_SH_NOFORK \ | ||
10016 | && NUM_APPLETS > 1 | ||
10015 | /* (1) BUG: if variables are set, we need to fork, or save/restore them | 10017 | /* (1) BUG: if variables are set, we need to fork, or save/restore them |
10016 | * around run_nofork_applet() call. | 10018 | * around run_nofork_applet() call. |
10017 | * (2) Should this check also be done in forkshell()? | 10019 | * (2) Should this check also be done in forkshell()? |