aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c2
1 files changed, 1 insertions, 1 deletions
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;