diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-06-19 17:25:40 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-06-19 17:25:40 +0000 |
commit | 294b93b36ebfb535087341cf80f836c901834b7b (patch) | |
tree | b94c0d6a506d1ef77f79df246a26d504c84b7110 /sh.c | |
parent | a4f977578f961651d262f3919daa8c5464ed5fc6 (diff) | |
download | busybox-w32-294b93b36ebfb535087341cf80f836c901834b7b.tar.gz busybox-w32-294b93b36ebfb535087341cf80f836c901834b7b.tar.bz2 busybox-w32-294b93b36ebfb535087341cf80f836c901834b7b.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
git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 */ |