diff --git a/install.sh b/install.sh index a2e1f7c..89db754 100755 --- a/install.sh +++ b/install.sh @@ -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