mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
* cons.handler.c (handle_console): Use _exit(), not exit() in
the child.
This commit is contained in:
parent
2c8f2419e5
commit
2af1e85990
@ -1,5 +1,8 @@
|
||||
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
|
||||
poptGetContext().
|
||||
* popt.c: Call abort() in execCommand() - we should not execute
|
||||
|
@ -152,7 +152,7 @@ void handle_console (unsigned char action)
|
||||
write (1, &console_flag, 1);
|
||||
close (1);
|
||||
close (0);
|
||||
exit (3);
|
||||
_exit (3);
|
||||
} /* if (cons_saver_pid ...) */
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user