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

[lintian] 01/01: checks/init.d.pm: Remove (now) redundant "." and ".." check



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

nthykier pushed a commit to branch master
in repository lintian.

commit e2b90246a9696e7f4d185b873897609414f796c9
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Sep 30 22:01:41 2014 +0200

    checks/init.d.pm: Remove (now) redundant "." and ".." check
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/init.d.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/init.d.pm b/checks/init.d.pm
index bd3ab5d..15f08c2 100644
--- a/checks/init.d.pm
+++ b/checks/init.d.pm
@@ -207,7 +207,7 @@ sub run {
     for my $script ($initd_dir->children) {
         my $tagname = 'script-in-etc-init.d-not-registered-via-update-rc.d';
         my $basename = $script->basename;
-        next if any {$basename eq $_} qw(. .. README skeleton rc rcS);
+        next if any {$basename eq $_} qw(README skeleton rc rcS);
 
         # In an upstart system, such as Ubuntu, init scripts are symlinks to
         # upstart-job which are not registered with update-rc.d.

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


Reply to: