summaryrefslogtreecommitdiff
path: root/bin/checklinks
diff options
context:
space:
mode:
Diffstat (limited to 'bin/checklinks')
-rwxr-xr-xbin/checklinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/checklinks b/bin/checklinks
index 668b46d..dfa233f 100755
--- a/bin/checklinks
+++ b/bin/checklinks
@@ -120,7 +120,7 @@ sub mkdirs {
sub print_format {
my ($message, $src, $dst, $color, $level) = @_;
- if ($msglevel > 1) {
+ if ($level > 1) {
$exit++;
}