1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Editor: Use _exit() instead of exit()

This commit is contained in:
Stefan 2021-04-11 18:34:00 +02:00 committed by Michael Vetter
parent 9f32b2afb2
commit ce508a826a

View File

@ -9364,7 +9364,7 @@ cmd_editor(ProfWin* window, const char* const command, gchar** args)
if ( x == -1 ) {
cons_show_error("Failed to exec %s", editor);
}
exit (EXIT_FAILURE);
_exit(EXIT_FAILURE);
} else {
if ( pid == -1 ) {
return TRUE;