diff --git a/src/actionlint/install.sh b/src/actionlint/install.sh index 05915c0..0a6a1ec 100755 --- a/src/actionlint/install.sh +++ b/src/actionlint/install.sh @@ -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