aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 5b73c3c66..31d3c1013 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -11665,7 +11665,8 @@ evalcommand(union node *cmd, int flags)
11665//TODO: find a better solution for Windows on ARM than ignoring NOFORK 11665//TODO: find a better solution for Windows on ARM than ignoring NOFORK
11666#if ENABLE_FEATURE_SH_STANDALONE \ 11666#if ENABLE_FEATURE_SH_STANDALONE \
11667 && ENABLE_FEATURE_SH_NOFORK \ 11667 && ENABLE_FEATURE_SH_NOFORK \
11668 && NUM_APPLETS > 1 && !(defined(_ARM64_) && ENABLE_PLATFORM_MINGW32) 11668 && NUM_APPLETS > 1 \
11669 && !(defined(_ARM64_) && !defined(_UCRT) && ENABLE_PLATFORM_MINGW32)
11669/* (1) BUG: if variables are set, we need to fork, or save/restore them 11670/* (1) BUG: if variables are set, we need to fork, or save/restore them
11670 * around run_nofork_applet() call. 11671 * around run_nofork_applet() call.
11671 * (2) Should this check also be done in forkshell()? 11672 * (2) Should this check also be done in forkshell()?