cmdline: don't clear cmdline exec_file is arguments are provided on cmdline
This commit is contained in:
parent
1f022a2187
commit
8d9aaec7f0
@ -304,7 +304,6 @@ static bool setupArgv(nsjconf_t* nsjconf, int argc, char** argv, int optind) {
|
||||
*/
|
||||
if (optind < argc) {
|
||||
nsjconf->argv.clear();
|
||||
nsjconf->exec_file.clear();
|
||||
for (int i = optind; i < argc; i++) {
|
||||
nsjconf->argv.push_back(argv[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user