mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
Fix an error check.
This commit is contained in:
@@ -502,7 +502,7 @@ static void init_options(void)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
options.conf_filename = get_conf_filename();
|
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",
|
fprintf(stderr, "Could not find the configuration file: %s.\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user