From 4e3bf0967d6bd2993726293ed9b65b14e89b926f Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Wed, 29 Jun 2011 13:58:55 +0200 Subject: [PATCH] Syntax fixes in init-functions --- debian/init-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/init-functions b/debian/init-functions index 492cad24..c0200925 100644 --- a/debian/init-functions +++ b/debian/init-functions @@ -37,9 +37,10 @@ if [ -e /sys/fs/cgroup/systemd ] ; then ;; # Some services can't reload through the .service file, # but can through the init script. - if [ "$(systemctl -p CanReload show $service 2>/dev/null)" = "CanReload=no" ] && "$1" = "reload"; then + if [ "$(systemctl -p CanReload show $service 2>/dev/null)" = "CanReload=no" ] && [ "$1" = "reload" ]; then _use_systemctl=0 fi + ;; esac else export _SYSTEMCTL_SKIP_REDIRECT="true" -- 2.39.5