summaryrefslogtreecommitdiff
path: root/gnu/installer.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-26 13:56:22 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-26 14:19:36 +0200
commit9529f7850e3ae91cce70620e684fc6d0dc25e815 (patch)
treec965c7e8a5f3bb41343114528be90c1c6c207ecc /gnu/installer.scm
parent6c849cdb988d403fec11ace82704535723de9e66 (diff)
downloadguix-patches-9529f7850e3ae91cce70620e684fc6d0dc25e815.tar
guix-patches-9529f7850e3ae91cce70620e684fc6d0dc25e815.tar.gz
installer: Take 'guix system init' exit code into account.
This allows the installer to distinguish success from failure, and also ensures the shell that runs 'guix system init' exits upon completion. * gnu/installer/utils.scm (run-shell-command)[pause]: New procedure. Add "exec" before COMMAND in the script. Guard 'invoke' call and handle 'invoke-error?'. Add call to 'pause' on completion. * gnu/installer/final.scm (install-system): Remove 'false-if-exception'.
Diffstat (limited to 'gnu/installer.scm')
0 files changed, 0 insertions, 0 deletions