Skip to content

Commit

Permalink
fix: boolean logic for fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jbergstroem committed Feb 2, 2024
1 parent 58d8634 commit c9a4a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [ "${DOWNLOAD}" == "true" ]; then
# /usr/local/bin exists and is writable by any user
curl -s -L --fail -w 1 -o /tmp/hadolint \
"https://github.com/hadolint/hadolint/releases/download/v${VERSION}/hadolint-Linux-x86_64" ||
echo "::error::Hadolint (version: ${VERSION}) could not be found. Exiting." && exit 1
(echo "::error::Hadolint (version: ${VERSION}) could not be found. Exiting." && exit 1)
mv /tmp/hadolint /usr/local/bin/hadolint
chmod +x /usr/local/bin/hadolint
fi
Expand Down

0 comments on commit c9a4a84

Please sign in to comment.