mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
Fixed guardian ignore file handling and linefead detection.
This commit is contained in:
@@ -211,7 +211,8 @@ sub build_ignore_hash {
|
||||
if ($ignorefile ne "") {
|
||||
open (IGNORE, $ignorefile);
|
||||
while (<IGNORE>) {
|
||||
chop;
|
||||
$_=~ s/\s+$//;
|
||||
chomp;
|
||||
next if (/\#/); #skip comments
|
||||
next if (/^\s*$/); # and blank lines
|
||||
$ignore{$_}=1;
|
||||
|
||||
Reference in New Issue
Block a user