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 --- lash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lash.c') diff --git a/lash.c b/lash.c index 8ea5e30..56d9425 100644 --- a/lash.c +++ b/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.1