Skip to content

Commit

Permalink
Address shellcheck error
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Feb 28, 2024
1 parent fbcecd5 commit 8273fe4
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
printf -e 'Script must be run as root. Use sudo, su, or add "USER root" to your Dockerfile before running this script.'
printf '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 8273fe4

Please sign in to comment.