about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xsetup-toolchain.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup-toolchain.sh b/setup-toolchain.sh
index f2bf291f0b0..b8311660689 100755
--- a/setup-toolchain.sh
+++ b/setup-toolchain.sh
@@ -1,6 +1,8 @@
 #!/bin/bash
 # Set up the appropriate rustc toolchain
 
+set -e
+
 cd "$(dirname "$0")" || exit
 
 if ! command -v rustup-toolchain-install-master > /dev/null; then