diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/lash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/lash.c b/shell/lash.c index 8ea5e305b..56d94258c 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -188,8 +188,7 @@ static int shell_exit(struct job *cmd, struct jobSet *junk) | |||
188 | if (!cmd->progs[0].argv[1] == 1) | 188 | if (!cmd->progs[0].argv[1] == 1) |
189 | exit TRUE; | 189 | exit TRUE; |
190 | 190 | ||
191 | else | 191 | return(atoi(cmd->progs[0].argv[1])); |
192 | exit(atoi(cmd->progs[0].argv[1])); | ||
193 | } | 192 | } |
194 | 193 | ||
195 | /* built-in 'fg' and 'bg' handler */ | 194 | /* built-in 'fg' and 'bg' handler */ |