From 0e5b16348ef7982f6835a42166bf9c0109366fd8 Mon Sep 17 00:00:00 2001 From: heuzef Date: Fri, 9 Feb 2018 14:51:14 +0100 Subject: [PATCH] Remove usless var --- defacement_check.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/defacement_check.pl b/defacement_check.pl index 7a131cf..f853e4f 100644 --- a/defacement_check.pl +++ b/defacement_check.pl @@ -102,12 +102,12 @@ foreach $file (@files) } } - # However, ignore this Threat please + # However, IGNORE this Threat please foreach my $i (@whitelist) { - foreach (uniq(@found)) { + foreach (@found) { foreach (grep(/$i/i, split(/\n/))) { - print "\033[35mIGNORE "; - pop @found, $_; + print "\033[35mIGNORE "; # VERBOSE + pop @found; } } }