diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-06-19 17:25:40 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-06-19 17:25:40 +0000 |
commit | b610615be9aedfac07d1e01f12575707fa3a227c (patch) | |
tree | b94c0d6a506d1ef77f79df246a26d504c84b7110 /sh.c | |
parent | dbb3019d0de410960feac649a0b9320ae245cca1 (diff) | |
download | busybox-w32-b610615be9aedfac07d1e01f12575707fa3a227c.tar.gz busybox-w32-b610615be9aedfac07d1e01f12575707fa3a227c.tar.bz2 busybox-w32-b610615be9aedfac07d1e01f12575707fa3a227c.zip |
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 'sh.c')
-rw-r--r-- | sh.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |