diff options
author | KlzXS <azszwymmvqdi@yahoo.com> | 2020-04-24 16:56:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 20:26:09 +0530 |
commit | 7b7252dd3256da50ed622240849015d80d49866c (patch) | |
tree | 4c79a32d536d75c6e3c35a4eabd07d5bf8d78242 | |
parent | bc572df55a35cc738466996abe26339fc5acaeda (diff) | |
download | nnn-7b7252dd3256da50ed622240849015d80d49866c.tar.gz |
Fix picker and list mode conflict (#533)
* Fix picker and list mode conflict
* Comment the change
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6827,6 +6827,10 @@ int main(int argc, char *argv[]) } } + /* Prevent picker and list mode conflict */ + if (!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO)) + exit(1); + home = getenv("HOME"); if (!home) { fprintf(stderr, "set HOME\n"); |