Make fairland finish argument parsing before reading econfig
This commit is contained in:
parent
967122ae0b
commit
d2a7bb6b6f
1 changed files with 2 additions and 1 deletions
|
@ -225,11 +225,12 @@ main(int argc, char *argv[])
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
parse_args(argc - optind, argv + optind);
|
||||||
|
|
||||||
srandom(rnd_seed);
|
srandom(rnd_seed);
|
||||||
if (emp_config(config_file))
|
if (emp_config(config_file))
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
||||||
parse_args(argc - optind, argv + optind);
|
|
||||||
if (allocate_memory() == -1)
|
if (allocate_memory() == -1)
|
||||||
exit(-1);
|
exit(-1);
|
||||||
print_vars();
|
print_vars();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue