mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Treat stale, unwritable files as unreadable.
This commit is contained in:
parent
a40fe5413c
commit
3da6feda13
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue