about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorStefan <stefan@devlug.de>2021-04-11 18:34:00 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-04-16 18:04:03 +0200
commitce508a826a5bb908745272c5ea988142f39fd3a8 (patch)
tree3f2a9f20fdaa428903d84d7d21601cce5a0ed8d6 /src
parent9f32b2afb264a7621a8ac660a84e2d72a4a1a44a (diff)
downloadprofani-tty-ce508a826a5bb908745272c5ea988142f39fd3a8.tar.gz
Editor: Use _exit() instead of exit()
Diffstat (limited to 'src')
-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;