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

[SCM] Debian package checker branch, master, updated. 54e03124c78c313f88d122aa7bd8baa18d8f0ed3



The following commit has been merged in the master branch:
commit 54e03124c78c313f88d122aa7bd8baa18d8f0ed3
Author: Russ Allbery <rra@debian.org>
Date:   Thu Jul 10 19:12:36 2008 -0700

    Fix exit status when command-line packages don't exist
    
    * frontend/lintian:
      + [RA] Exit with the correct exit status if no packages were found
        because non-existent packages were specified on the command line.

diff --git a/debian/changelog b/debian/changelog
index b950333..b5b1d43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -116,6 +116,8 @@ lintian (1.24.2) unstable; urgency=low
   * frontend/lintian:
     + [ADB] Add a new --show-experimental / -E option which indicates
       that experimental tags should be displayed.
+    + [RA] Exit with the correct exit status if no packages were found
+      because non-existent packages were specified on the command line.
 
   * lib/Lintian/Collect/Binary.pm:
     + [FL] Add support for file-info file.
diff --git a/frontend/lintian b/frontend/lintian
index 95f03bf..1be2e9b 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -882,7 +882,7 @@ while (my $arg = shift) {
 
 if (not $check_everything and not $packages_file and ($#packages == -1)) {
     print "N: No packages selected.\n" if $verbose;
-    exit 0;
+    exit $exit_code;
 }
 # }}}
 

-- 
Debian package checker


Reply to: