Print file opener in debug mode

This commit is contained in:
Arun Prakash Jana 2019-04-10 07:19:19 +05:30
parent 4b32b53a5a
commit 69328f5b03
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -4178,6 +4178,7 @@ int main(int argc, char *argv[])
opener = xgetenv(env_cfg[NNN_OPENER], utils[OPENER]); opener = xgetenv(env_cfg[NNN_OPENER], utils[OPENER]);
if (getenv(env_cfg[NNN_OPENER_DETACH])) if (getenv(env_cfg[NNN_OPENER_DETACH]))
opener_flag |= F_NOWAIT; opener_flag |= F_NOWAIT;
DPRINTF_S(opener);
/* Set nnn nesting level, idletimeout used as tmp var */ /* Set nnn nesting level, idletimeout used as tmp var */
idletimeout = xatoi(getenv(env_cfg[NNNLVL])); idletimeout = xatoi(getenv(env_cfg[NNNLVL]));