guix-install.sh: Treat all uncaught errors as fatal.
* etc/guix-install.sh: Set -o pipefail.
This commit is contained in:
parent
54c0b5c457
commit
1e8e84b286
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ then
|
||||||
exec bash "$0" "$@"
|
exec bash "$0" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -eo pipefail
|
||||||
|
|
||||||
[ "$UID" -eq 0 ] || { echo "This script must be run as root."; exit 1; }
|
[ "$UID" -eq 0 ] || { echo "This script must be run as root."; exit 1; }
|
||||||
|
|
||||||
|
|
Reference in a new issue