Skip to content

Commit f4ea525

Browse files
committed
Early exit if there is any errors
1 parent 02dcd62 commit f4ea525

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup-toolchain.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
# Set up the appropriate rustc toolchain
33

4+
set -e
5+
46
cd "$(dirname "$0")" || exit
57

68
if ! command -v rustup-toolchain-install-master > /dev/null; then

0 commit comments

Comments
 (0)