summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index b8ad590189..622ba63151 100644
--- a/main.c
+++ b/main.c
@@ -121,6 +121,8 @@ _noreturn static void crash(int sig) {
assert_se(sigaddset(&mask, sig) == 0);
assert_se(sigprocmask(SIG_SETMASK, &mask, NULL) == 0);
+ ignore_signal(sig);
+
execl("/bin/sh", "/bin/sh", NULL);
log_error("execl() failed: %s", strerror(errno));
}