aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-03 18:14:51 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-03 18:14:51 +0530
commit3489c87b98a0f2c6b7586703a9bc6ab6388ef2ce (patch)
tree4300258ec2d6b46be90f3d679c457fd4cb979e15 /src
parentadd2db80f2a45ac54c8de80e588e540f4366a357 (diff)
downloadnnn-3489c87b98a0f2c6b7586703a9bc6ab6388ef2ce.tar.gz
Remove weak check for CLI detection
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nnn.c b/src/nnn.c
index a1837fc..85004e1 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3390,11 +3390,6 @@ static void browse(char *ipath)
if (!pnamebuf)
errexit();
-#ifdef __linux__
- if (!getenv("DISPLAY"))
- opener_flags = F_CLI;
-#endif
-
begin:
#ifdef LINUX_INOTIFY
if ((presel == FILTER || dir_changed) && inotify_wd >= 0) {