From 3489c87b98a0f2c6b7586703a9bc6ab6388ef2ce Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 3 Oct 2019 18:14:51 +0530 Subject: [PATCH] Remove weak check for CLI detection --- src/nnn.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index a1837fcf..85004e12 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) {