diff options
author | 2020-05-30 01:21:16 +0200 | |
---|---|---|
committer | 2020-05-30 04:51:16 +0530 | |
commit | 41dc17883a8659c428b208e03f1d55c6b404251a (patch) | |
tree | b84e80b23a5ada6b3f8cd936846cb003edf5037e | |
parent | 2232772db4f00eb936ee66e57d35dd8bc5344d86 (diff) | |
download | nnn-41dc17883a8659c428b208e03f1d55c6b404251a.tar.gz |
Fix detecting end of evironment options (#610)
This allow using both NNN_OPTS and options with arguments from argv.
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7048,6 +7048,8 @@ int main(int argc, char *argv[]) usage(); return EXIT_FAILURE; } + if (env_opts_id == 0) + env_opts_id = -1; } #ifdef DBGMODE |