aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-09 13:36:14 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-09 13:36:14 +0530
commite13c04b40d6e5c9c36b94fbf457b395f7a06ecba (patch)
treebc6abfa7f09cf8c49f8b1d647fd6504922b41342
parent7a2fdc0e1d7baddd27179182fcd2d550146aa62a (diff)
downloadnnn-e13c04b40d6e5c9c36b94fbf457b395f7a06ecba.tar.gz
Fix checkpatch warning
-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;