[Apt-listbugs-commits] [apt-listbugs] 02/11: enhance the documentation for the exit status

Francesco Poli frx-guest at moszumanska.debian.org
Sat Feb 15 15:26:47 UTC 2014


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

frx-guest pushed a commit to branch master
in repository apt-listbugs.

commit 6497daa9ebdf9bafcb50ba9233cbc8bcfafe1a5d
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date:   Sat Feb 8 23:35:51 2014 +0100

    enhance the documentation for the exit status
---
 apt-listbugs     | 16 ++++++++++------
 debian/changelog |  1 +
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/apt-listbugs b/apt-listbugs
index 2709aca..783809c 100755
--- a/apt-listbugs
+++ b/apt-listbugs
@@ -237,24 +237,28 @@ notable configuration options are
 
 
 
-== EXIT CODE
+== EXIT STATUS
 
 : 0
 
-  Success.
+  If the program ran successfully and (when in apt mode) you decided
+  to continue with the installation/upgrade.
 
 : 1
 
-  When something is wrong.
+  If an error occurred.
 
 : 10
 
-  To warn APT not to proceed.
+  If the program ran successfully in apt mode, but you decided to abort
+  the installation/upgrade.
 
 : 130
 
-  When a SIGINT was received (for instance because the user
-  pressed [Ctrl+C]).
+  If a SIGINT was received (for instance because you pressed [Ctrl+C]).
+
+N.B.: When the program is invoked by APT, any non-zero exit status will
+cause the installation/upgrade to be aborted.
 
 == AUTHORS
 
diff --git a/debian/changelog b/debian/changelog
index ecf01e1..c85ec50 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ apt-listbugs (0.1.13) UNRELEASED; urgency=medium
     have just been pinned
   * improved the man page:
      - clarified what happens with the force options when in apt mode
+     - enhanced the explanation of the exit status
 
  -- Francesco Poli (wintermute) <invernomuto at paranoici.org>  Sat, 01 Feb 2014 15:43:19 +0100
 

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



More information about the Apt-listbugs-commits mailing list