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

[lintian] 01/01: lintian: Fix thinko in last commit



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

nthykier pushed a commit to branch master
in repository lintian.

commit e30852573801ebeaa4a503ee305c329928651a27
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Jul 22 19:37:21 2015 +0200

    lintian: Fix thinko in last commit
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 frontend/lintian | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/frontend/lintian b/frontend/lintian
index fbfa2f9..3cd0b37 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -867,9 +867,10 @@ foreach my $gname (sort $pool->get_group_names()) {
                 # Double check that no processes are running;
                 # hopefully it will catch regressions like 3bbcc3b
                 # earlier.
-                $exit_code = 2;
-                fail('Unreaped processes after running checks!?')
-                  if waitpid(-1, WNOHANG) != -1;
+                if (waitpid(-1, WNOHANG) != -1) {
+                    $exit_code = 2;
+                    fail('Unreaped processes after running checks!?');
+                }
             } else {
                 # If we are interrupted in (e.g.) checks/manpages, it
                 # tends to leave processes behind.  No reason to flag

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


Reply to: