mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Editor: Use _exit() instead of exit()
This commit is contained in:
parent
9f32b2afb2
commit
ce508a826a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user