Skip to content
Snippets Groups Projects
Commit 0821fdf2 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

zip.pm: Don't mix high and low-precedence booleans.

parent d5ba45ea
Branches
Tags
No related merge requests found
......@@ -146,7 +146,7 @@ sub normalize {
die "Reading ZIP archive failed: " . join("\n", @errors);
}
}
if (exists($options{archive_filter}) && not($options{archive_filter}->($zip))) {
if (exists($options{archive_filter}) and not($options{archive_filter}->($zip))) {
return 0;
}
my @filenames = sort $filename_cmp $zip->memberNames();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment