From: Arun Prakash Jana Date: Thu, 3 Oct 2019 12:44:51 +0000 (+0530) Subject: Remove weak check for CLI detection X-Git-Tag: v2.7~16 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3489c87b98a0f2c6b7586703a9bc6ab6388ef2ce;p=nnn.git Remove weak check for CLI detection --- 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) {