Browse Source

Fix order

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

+ 1
- 2
src/nnn.c View File

@@ -3997,6 +3997,7 @@ int main(int argc, char *argv[])
char cwd[PATH_MAX] __attribute__ ((aligned));
char *ipath = NULL;
int opt;
struct sigaction act;

while ((opt = getopt(argc, argv, "Slib:enp:svwh")) != -1) {
switch (opt) {
@@ -4199,8 +4200,6 @@ int main(int argc, char *argv[])
#endif

/* Ignore/handle certain signals */
struct sigaction act;

memset(&act, 0, sizeof(act));
act.sa_sigaction = &sigint_handler;
act.sa_flags = SA_SIGINFO;


Loading…
Cancel
Save