diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-04-06 23:19:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-04-06 23:21:26 +0200 |
commit | 7cffaeb60473e25a7ef8c1a8cb36e1531191873a (patch) | |
tree | 7569a086b5c1da11cc10be9955d242bd4886d514 /doc | |
parent | 7b9a66e51937bf627541a437f46949f69d2f5872 (diff) | |
download | guix-7cffaeb60473e25a7ef8c1a8cb36e1531191873a.tar.gz |
challenge: Really exit with non-zero upon hash mismatch.
Reported by John Darrington. * guix/scripts/challenge.scm (guix-challenge): Add an explicit 'exit' call when ISSUES is empty. * scripts/guix.in: Add comment about 'exit'. * doc/guix.texi (Invoking guix challenge): Mention the behavior and exit code.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index aeeec617e0..a16422261a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5582,7 +5582,7 @@ $ guix challenge @var{package} @noindent where @var{package} is a package specification such as -@code{guile-2.0} or @code{glibc:debug}. +@code{guile@@2.0} or @code{glibc:debug}. The general syntax is: @@ -5590,6 +5590,11 @@ The general syntax is: guix challenge @var{options} [@var{packages}@dots{}] @end example +When a difference is found between the hash of a locally-built item and +that of a server-provided substitute, or among substitutes provided by +different servers, the command displays it as in the example above and +exits with a non-zero return code. + The one option that matters is: @table @code |