Kaynağa Gözat
Fix picker and list mode conflict (#533)
* Fix picker and list mode conflict
* Comment the change
master
KlzXS
GitHub
5 yıl önce
ebeveyn
işleme
7b7252dd32
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
4 ekleme ve
0 silme
-
src/nnn.c
|
|
@@ -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"); |
|
|
|