guix-install.sh: Treat all uncaught errors as fatal.
* etc/guix-install.sh: Set -o pipefail.master
parent
54c0b5c457
commit
1e8e84b286
|
@ -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 New Issue