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 bf6a86d3d..03864c667 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -10392,7 +10392,6 @@ evalcommand(union node *cmd, int flags)
10392 jp = makejob(/*cmd,*/ 1); 10392 jp = makejob(/*cmd,*/ 1);
10393 if (forkshell(jp, cmd, FORK_FG) != 0) { 10393 if (forkshell(jp, cmd, FORK_FG) != 0) {
10394 /* parent */ 10394 /* parent */
10395 TRACE(("forked child exited with %d\n", status));
10396 break; 10395 break;
10397 } 10396 }
10398 /* child */ 10397 /* child */
@@ -10418,6 +10417,8 @@ evalcommand(union node *cmd, int flags)
10418 } /* switch */ 10417 } /* switch */
10419 10418
10420 status = waitforjob(jp); 10419 status = waitforjob(jp);
10420 if (jp)
10421 TRACE(("forked child exited with %d\n", status));
10421 FORCE_INT_ON; 10422 FORCE_INT_ON;
10422 10423
10423 out: 10424 out: