From a62ce0ecf0e4d308866bead73bccde4ddd232981 Mon Sep 17 00:00:00 2001 From: Cody Lee Date: Mon, 5 Dec 2022 16:29:09 -0600 Subject: [PATCH] fixes post install script --- scripts/post-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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