aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index f586005..0f33df9 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4113,6 +4113,7 @@ int main(int argc, char *argv[])
/* Ignore/handle certain signals */
struct sigaction act = {.sa_handler = sigint_handler};
+
if (sigaction(SIGINT, &act, NULL) < 0) {
xerror();
return 1;