summaryrefslogtreecommitdiff
path: root/bin/checklinks
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-05 16:13:55 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-05 16:13:55 +0200
commitdbfc160ddaf3f61468aaad6b50a05103849aac0f (patch)
tree33469f79c50eec0c3c4121a02cb132c18cba8de6 /bin/checklinks
parentcc60f3b86bc4a29d68852e02021fc719b22b5b2f (diff)
checklinks: Fixed exit code
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++;
}