diff options
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 9a8bab5ab..c333b235b 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -9432,7 +9432,7 @@ evalcommand(union node *cmd, int flags) | |||
9432 | if (evalbltin(cmdentry.u.cmd, argc, argv)) { | 9432 | if (evalbltin(cmdentry.u.cmd, argc, argv)) { |
9433 | int exit_status; | 9433 | int exit_status; |
9434 | int i = exception_type; | 9434 | int i = exception_type; |
9435 | if (i == EXEXIT) | 9435 | if (i == EXEXIT || i == EXEXEC) |
9436 | goto raise; | 9436 | goto raise; |
9437 | exit_status = 2; | 9437 | exit_status = 2; |
9438 | if (i == EXINT) | 9438 | if (i == EXINT) |