Skip to content

Commit c0b2c04

Browse files
committed
chore add fail flag
Signed-off-by: Ivan Pedrazas <ipedrazas@gmail.com>
1 parent dfb1b36 commit c0b2c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/downloads/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ URL="https://github.com/fermyon/spin/releases/download/${VERSION}/${FILE}"
115115

116116
# Download file, exit if not found - e.g. version does not exist
117117
fancy_print 0 "Step 1: Downloading: ${URL}"
118-
curl -sOL $URL || (fancy_print 1 "The requested file does not exist: ${FILE}"; exit 1)
118+
curl -sOL --fail $URL || (fancy_print 1 "The requested file does not exist: ${FILE}"; exit 1)
119119
fancy_print 0 "Done...\n"
120120

121121
# Decompress the file

0 commit comments

Comments
 (0)