diff --git a/contrib/carbonapi/fpm/carbon-user-systemd-reload.sh b/contrib/carbonapi/fpm/carbon-user-systemd-reload.sh index 709824a50..db8f7ee60 100755 --- a/contrib/carbonapi/fpm/carbon-user-systemd-reload.sh +++ b/contrib/carbonapi/fpm/carbon-user-systemd-reload.sh @@ -37,4 +37,6 @@ if [ ! -e "${CONF}" ]; then fi # reload systemd -[[ -e /bin/systemctl ]] && /bin/systemctl daemon-reload ||: \ No newline at end of file +if [ -e /bin/systemctl ]; then + /bin/systemctl daemon-reload +fi