summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-10-16 02:00:01 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-10-16 02:00:28 +0200
commit1e8e84b286acf147196ac95a515564324a0a9ae9 (patch)
tree50a87618fc8a8c39a5dcfced16da636d5a92a2d6 /etc
parent54c0b5c45767729b053574c2b2a62b17594f42ab (diff)
guix-install.sh: Treat all uncaught errors as fatal.
* etc/guix-install.sh: Set -o pipefail.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/guix-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 353fc68aab..43dea3b605 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -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; }