mirror of
https://github.com/jarun/nnn.git
synced 2025-03-12 17:54:04 +00:00
Fix picker and list mode conflict (#533)
* Fix picker and list mode conflict * Comment the change
This commit is contained in:
parent
bc572df55a
commit
7b7252dd32
1 changed files with 4 additions and 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");
|
||||
|
|
Loading…
Add table
Reference in a new issue