Browse Source

Simplify check

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

+ 1
- 4
src/nnn.c View File

@@ -3867,10 +3867,7 @@ nochange:
}

if (S_ISREG(sb.st_mode)) {
if (ndents)
tmp = dents[cur].name;
else
tmp = NULL;
tmp = ndents ? dents[cur].name : NULL;
spawn(shell, scriptpath, tmp, path, F_NORMAL | F_SIGINT);
}
break;


Loading…
Cancel
Save