mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Fix an opposite return code in Windows copy_tree.
This commit is contained in:
@@ -1059,7 +1059,7 @@ static int makedirs(const char *dirname)
|
||||
return -1;
|
||||
|
||||
rc = makedir(dirname);
|
||||
if (rc == 0)
|
||||
if (rc == -1)
|
||||
return -1;
|
||||
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user