mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix an error check.
This commit is contained in:
parent
571a1bab4a
commit
e83890e6be
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@ static void init_options(void)
|
|||
exit(1);
|
||||
}
|
||||
options.conf_filename = get_conf_filename();
|
||||
if (options.staging_dir == NULL) {
|
||||
if (options.conf_filename == NULL) {
|
||||
fprintf(stderr, "Could not find the configuration file: %s.\n",
|
||||
strerror(errno));
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue