From dbfc160ddaf3f61468aaad6b50a05103849aac0f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 5 Jul 2009 16:13:55 +0200 Subject: checklinks: Fixed exit code --- bin/checklinks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/checklinks') 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++; } -- cgit v1.2.3