From 3da6feda130da78c93c70244f43dba3241d85264 Mon Sep 17 00:00:00 2001 From: jah Date: Sun, 7 Feb 2016 15:28:26 +0000 Subject: [PATCH] Treat stale, unwritable files as unreadable. --- scripts/whois-ip.nse | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/whois-ip.nse b/scripts/whois-ip.nse index de7fc6914..18a2a46a8 100644 --- a/scripts/whois-ip.nse +++ b/scripts/whois-ip.nse @@ -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