Skip to content

Commit

Permalink
Address shellcheck error
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623-cargosense committed Feb 28, 2024
1 parent 7f4b54b commit fbcecd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actionlint/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ACTIONLINT_VERSION="${VERSION:-"latest"}"
INSTALL_PATH="${INSTALLPATH:-"/usr/local/bin"}"

if [ "$(id -u)" -ne 0 ]; then
echo -e 'Script must be run as root. Use sudo, su, or add "USER root" to your Dockerfile before running this script.'
printf -e 'Script must be run as root. Use sudo, su, or add "USER root" to your Dockerfile before running this script.'
exit 1
fi

Expand Down

0 comments on commit fbcecd5

Please sign in to comment.