aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index b7f20ba36..3f1405d81 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13187,12 +13187,12 @@ exitshell(void)
13187 evalstring(p, 0); 13187 evalstring(p, 0);
13188 /*free(p); - we'll exit soon */ 13188 /*free(p); - we'll exit soon */
13189 } 13189 }
13190 flush_stdout_stderr();
13191 out: 13190 out:
13192 /* dash wraps setjobctl(0) in "if (setjmp(loc.loc) == 0) {...}". 13191 /* dash wraps setjobctl(0) in "if (setjmp(loc.loc) == 0) {...}".
13193 * our setjobctl(0) does not panic if tcsetpgrp fails inside it. 13192 * our setjobctl(0) does not panic if tcsetpgrp fails inside it.
13194 */ 13193 */
13195 setjobctl(0); 13194 setjobctl(0);
13195 flush_stdout_stderr();
13196 _exit(status); 13196 _exit(status);
13197 /* NOTREACHED */ 13197 /* NOTREACHED */
13198} 13198}