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 109473b97..3719066b9 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -9866,7 +9866,7 @@ evalcommand(union node *cmd, int flags)
9866 break; 9866 break;
9867 } 9867 }
9868 /* goes through to shellexec() */ 9868 /* goes through to shellexec() */
9869#endif 9869#else
9870 if (!(flags & EV_EXIT) || may_have_traps) { 9870 if (!(flags & EV_EXIT) || may_have_traps) {
9871 /* No, forking off a child is necessary */ 9871 /* No, forking off a child is necessary */
9872 INT_OFF; 9872 INT_OFF;
@@ -9882,6 +9882,7 @@ evalcommand(union node *cmd, int flags)
9882 FORCE_INT_ON; 9882 FORCE_INT_ON;
9883 /* fall through to exec'ing external program */ 9883 /* fall through to exec'ing external program */
9884 } 9884 }
9885#endif
9885 listsetvar(varlist.list, VEXPORT|VSTACK); 9886 listsetvar(varlist.list, VEXPORT|VSTACK);
9886 shellexec(argv, path, cmdentry.u.index); 9887 shellexec(argv, path, cmdentry.u.index);
9887 /* NOTREACHED */ 9888 /* NOTREACHED */