diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2020-04-24 14:30:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-24 16:21:13 +0200 |
commit | 2520059bdb43fa1663ce102f3f4c442d4918c32b (patch) | |
tree | 6b5038f9e65c49c862dfae705a2eaa57b9351a1b /gnu/system/examples | |
parent | 193192ca77bffddd241b6706df21b5e8bccc4cce (diff) | |
download | guix-2520059bdb43fa1663ce102f3f4c442d4918c32b.tar.gz guix-2520059bdb43fa1663ce102f3f4c442d4918c32b.zip |
pack: 'guix pack -R' wrapper correctly reports exit code.
Fixes <https://bugs.gnu.org/40816>.
Reported by Jan (janneke) Nieuwenhuizen <janneke@gnu.org>.
* gnu/packages/aux-files/run-in-namespace.c (main): In the 'default'
case, check 'WIFEXITED (status)' and exit with the corresponding code in
that case. Exit with 255 in other cases.
* tests/guix-pack-relocatable.sh: Add test.
Diffstat (limited to 'gnu/system/examples')
0 files changed, 0 insertions, 0 deletions