[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: c/md5sums: Fix broken condition



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit a328be25bf5cf2ba6d94ae4d48c65396094577d2
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Feb 16 21:23:35 2016 +0000

    c/md5sums: Fix broken condition
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/md5sums.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/md5sums.pm b/checks/md5sums.pm
index c03d4cb..126eeae 100644
--- a/checks/md5sums.pm
+++ b/checks/md5sums.pm
@@ -56,7 +56,7 @@ sub run {
 
     # The md5sums file should not be a symlink.  If it is, the best
     # we can do is to leave it alone.
-    return if -l $control->is_symlink or not $control->is_open_ok;
+    return if $control->is_symlink or not $control->is_open_ok;
 
     # Is it empty? Then skip it. Tag will be issued by control-files
     return if $control->size == 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: