From ce508a826a5bb908745272c5ea988142f39fd3a8 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 11 Apr 2021 18:34:00 +0200 Subject: Editor: Use _exit() instead of exit() --- src/command/cmd_funcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command') diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 7aeb15f0..1d6d5f8d 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -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; -- cgit 1.4.1-2-gfad0