Browse Source

Fix build break

master
Arun Prakash Jana 6 years ago
parent
commit
83615dc72b
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/nnn.c

+ 2
- 1
src/nnn.c View File

@@ -4222,7 +4222,8 @@ int main(int argc, char *argv[])
cfg.restrict0b = 1;

/* Ignore/handle certain signals */
struct sigaction act = {0};
struct sigaction act;
memset(&act, 0, sizeof(act));
act.sa_sigaction = &sigint_handler;
act.sa_flags = SA_SIGINFO;
if (sigaction(SIGINT, &act, NULL) < 0) {


Loading…
Cancel
Save