Skip to content

Commit b87a9f1

Browse files
authored
Propagate failure (#1)
1 parent 0bfae71 commit b87a9f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#!/bin/bash
2+
set -euo pipefail
3+
24
#
35
# Usage: curl https://pyenv.run | bash
46
#
57
# For more info, visit: https://github.com/pyenv/pyenv-installer
68
#
79
index_main() {
810
set -e
9-
curl -s -S -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
11+
curl -s -S -L -f https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
1012
}
1113

1214
index_main

0 commit comments

Comments
 (0)