diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 2 | ||||
-rw-r--r-- | shell/lash.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 3048d695a..331d591c8 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -489,7 +489,7 @@ static int builtin_exit(struct child_prog *child) | |||
489 | { | 489 | { |
490 | if (child->argv[1] == NULL) | 490 | if (child->argv[1] == NULL) |
491 | exit(last_return_code); | 491 | exit(last_return_code); |
492 | exit (atoi(child->argv[1])); | 492 | exit(atoi(child->argv[1])); |
493 | } | 493 | } |
494 | 494 | ||
495 | /* built-in 'export VAR=value' handler */ | 495 | /* built-in 'export VAR=value' handler */ |
diff --git a/shell/lash.c b/shell/lash.c index f91bec254..aba9c0a2e 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -243,7 +243,7 @@ static int builtin_exit(struct child_prog *child) | |||
243 | if (child->argv[1] == NULL) | 243 | if (child->argv[1] == NULL) |
244 | exit(EXIT_SUCCESS); | 244 | exit(EXIT_SUCCESS); |
245 | 245 | ||
246 | exit (atoi(child->argv[1])); | 246 | exit(atoi(child->argv[1])); |
247 | } | 247 | } |
248 | 248 | ||
249 | /* built-in 'fg' and 'bg' handler */ | 249 | /* built-in 'fg' and 'bg' handler */ |