mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Treat stale, unwritable files as unreadable.
This commit is contained in:
@@ -1789,7 +1789,8 @@ function get_local_assignments_data()
|
||||
elseif exists and readable then
|
||||
update_required, modified_date, entity_tag = requires_updating( file )
|
||||
if update_required and not writable then
|
||||
return nil
|
||||
update_required = false
|
||||
readable = false
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user