diff --git a/scripts/post-install.sh b/scripts/post-install.sh index 33598fbd..f400169a 100755 --- a/scripts/post-install.sh +++ b/scripts/post-install.sh @@ -49,7 +49,7 @@ cleanInstall() { else # rhel/centos7 cannot use ExecStartPre=+ to specify the pre start should be run as root # even if you want your service to run as non root. - if [] "${systemd_version}" -lt 231 ]; then + if [ "${systemd_version}" -lt 231 ]; then printf "\033[31m systemd version %s is less then 231, fixing the service file \033[0m\n" "${systemd_version}" sed -i "s/=+/=/g" /etc/systemd/system/unpoller.service fi