summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
-rw-r--r--shell/lash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 3048d69..331d591 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -489,7 +489,7 @@ static int builtin_exit(struct child_prog *child)
{
if (child->argv[1] == NULL)
exit(last_return_code);
- exit (atoi(child->argv[1]));
+ exit(atoi(child->argv[1]));
}
/* built-in 'export VAR=value' handler */
diff --git a/shell/lash.c b/shell/lash.c
index f91bec2..aba9c0a 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -243,7 +243,7 @@ static int builtin_exit(struct child_prog *child)
if (child->argv[1] == NULL)
exit(EXIT_SUCCESS);
- exit (atoi(child->argv[1]));
+ exit(atoi(child->argv[1]));
}
/* built-in 'fg' and 'bg' handler */