From b610615be9aedfac07d1e01f12575707fa3a227c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 19 Jun 2000 17:25:40 +0000 Subject: 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 --- shell/lash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shell/lash.c') diff --git a/shell/lash.c b/shell/lash.c index 8ea5e305b..56d94258c 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 */ -- cgit v1.2.3