guix-install.sh: Treat all uncaught errors as fatal.

* etc/guix-install.sh: Set -o pipefail.
This commit is contained in:
Tobias Geerinckx-Rice 2022-10-16 02:00:01 +02:00
parent 54c0b5c457
commit 1e8e84b286
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ then
exec bash "$0" "$@"
fi
set -e
set -eo pipefail
[ "$UID" -eq 0 ] || { echo "This script must be run as root."; exit 1; }