diff options
author | Eric Andersen | 2000-06-19 17:25:40 +0000 |
---|---|---|
committer | Eric Andersen | 2000-06-19 17:25:40 +0000 |
commit | b610615be9aedfac07d1e01f12575707fa3a227c (patch) | |
tree | b94c0d6a506d1ef77f79df246a26d504c84b7110 /shell | |
parent | dbb3019d0de410960feac649a0b9320ae245cca1 (diff) | |
download | busybox-b610615be9aedfac07d1e01f12575707fa3a227c.zip busybox-b610615be9aedfac07d1e01f12575707fa3a227c.tar.gz |
Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes.
-Erik
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 8ea5e30..56d9425 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -188,8 +188,7 @@ static int shell_exit(struct job *cmd, struct jobSet *junk) if (!cmd->progs[0].argv[1] == 1) exit TRUE; - else - exit(atoi(cmd->progs[0].argv[1])); + return(atoi(cmd->progs[0].argv[1])); } /* built-in 'fg' and 'bg' handler */ |