1
0
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:
david
2011-12-19 05:16:23 +00:00
parent 571a1bab4a
commit e83890e6be

View File

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