Fix detecting end of evironment options (#610)

This allow using both NNN_OPTS and options with arguments from argv.
This commit is contained in:
lvgx 2020-05-30 01:21:16 +02:00 committed by GitHub
parent 2232772db4
commit 41dc17883a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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