1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 19:09:01 +00:00

Added some extra information to an error message -- I realized the current error wasn't descriptive enough

This commit is contained in:
ron
2009-12-14 16:27:05 +00:00
parent f2ae05968b
commit 50f8718389

View File

@@ -588,7 +588,7 @@ local function find_share(host)
-- Try and find a share to use.
status, share, path, shares = smb.share_find_writable(host)
if(status == false) then
return false, share
return false, share .. " (May not have an administrator account)"
end
if(path == nil) then
return false, string.format("Couldn't find path to writable share (we probably don't have admin access): '%s'", share)