From: Arun Prakash Jana Date: Wed, 6 May 2020 17:56:40 +0000 (+0530) Subject: Ignore -S when start dir is specified X-Git-Tag: v3.2~42 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=db3a46a19799b033a2d287b4d5433728ebce63d5;p=nnn.git Ignore -S when start dir is specified --- diff --git a/src/nnn.c b/src/nnn.c index 466f625d..0a5dd82f 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7041,6 +7041,9 @@ int main(int argc, char *argv[]) spawn(opener, arg, NULL, NULL, cfg.cliopener ? F_CLI : F_NOTRACE | F_NOWAIT); return _SUCCESS; } + + if (session) + session = NULL; } }