diff options
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index e3bbac9a0..c0352602b 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -13126,6 +13126,8 @@ expandstr(const char *ps, int syntax_type) | |||
13126 | if (setjmp(jmploc.loc) == 0) { | 13126 | if (setjmp(jmploc.loc) == 0) { |
13127 | exception_handler = &jmploc; | 13127 | exception_handler = &jmploc; |
13128 | expandarg(&n, NULL, EXP_QUOTED); | 13128 | expandarg(&n, NULL, EXP_QUOTED); |
13129 | } else if (exception_type == EXEXIT) { | ||
13130 | exitshell(); | ||
13129 | } | 13131 | } |
13130 | exception_handler = savehandler; | 13132 | exception_handler = savehandler; |
13131 | RESTORE_INT(saveint); | 13133 | RESTORE_INT(saveint); |