summaryrefslogtreecommitdiffstats
path: root/client/x11/platform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/x11/platform.cpp')
-rw-r--r--client/x11/platform.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index 4877798e..48d5a52b 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -3024,14 +3024,14 @@ static int x_error_handler(Display* display, XErrorEvent* error_event)
error_str,
(uint32_t)error_event->minor_code,
request_str);
- exit(-1);
+ _exit(-1);
return 0;
}
static int x_io_error_handler(Display* display)
{
LOG_ERROR("x io error on %s", XDisplayString(display));
- exit(-1);
+ _exit(-1);
return 0;
}