From: Tollef Fog Heen Date: Wed, 29 Jun 2011 11:58:55 +0000 (+0200) Subject: Syntax fixes in init-functions X-Git-Tag: 29-1~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e3bf0967d6bd2993726293ed9b65b14e89b926f;p=systemd Syntax fixes in init-functions --- 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"