* cons.handler.c (handle_console): Use _exit(), not exit() in

the child.
This commit is contained in:
Pavel Roskin 2002-08-20 00:04:49 +00:00
parent 2c8f2419e5
commit 2af1e85990
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-08-19 Pavel Roskin <proski@gnu.org> 2002-08-19 Pavel Roskin <proski@gnu.org>
* cons.handler.c (handle_console): Use _exit(), not exit() in
the child.
* main.c (handle_args): Set POPT_CONTEXT_NO_EXEC flag for * main.c (handle_args): Set POPT_CONTEXT_NO_EXEC flag for
poptGetContext(). poptGetContext().
* popt.c: Call abort() in execCommand() - we should not execute * popt.c: Call abort() in execCommand() - we should not execute

View File

@ -152,7 +152,7 @@ void handle_console (unsigned char action)
write (1, &console_flag, 1); write (1, &console_flag, 1);
close (1); close (1);
close (0); close (0);
exit (3); _exit (3);
} /* if (cons_saver_pid ...) */ } /* if (cons_saver_pid ...) */
break; break;