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 /scripts | |
| parent | 7b9a66e51937bf627541a437f46949f69d2f5872 (diff) | |
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 'scripts')
| -rw-r--r-- | scripts/guix.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/guix.in b/scripts/guix.in index 8f2d8a6433f..5d6921dd09d 100644 --- a/scripts/guix.in +++ b/scripts/guix.in | |||
| @@ -64,4 +64,9 @@ | |||
| 64 | (apply guix-main (command-line)))) | 64 | (apply guix-main (command-line)))) |
| 65 | 65 | ||
| 66 | (maybe-augment-load-paths!) | 66 | (maybe-augment-load-paths!) |
| 67 | |||
| 68 | ;; XXX: It would be more convenient to change it to: | ||
| 69 | ;; (exit (run-guix-main)) | ||
| 70 | ;; but since the 'guix' command is not updated by 'guix pull', we cannot | ||
| 71 | ;; really do it now. | ||
| 67 | (run-guix-main)) | 72 | (run-guix-main)) |
