From 364b30fd9bf59e6e992ff912ce6a118e07b0940a Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 18 Nov 2011 06:26:37 -0800 Subject: [PATCH] Fix 'update -b' handling of missing files. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Misc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm index 97e1cd2db..221957109 100644 --- a/Shorewall/Perl/Shorewall/Misc.pm +++ b/Shorewall/Perl/Shorewall/Misc.pm @@ -356,7 +356,7 @@ sub remove_blacklist( $ ) { my $fn = find_file $file; - assert( -f $fn ); + return 1 unless -f $file; my $oldfile = open_file $fn; my $newfile;