From: Tollef Fog Heen Date: Thu, 7 Jul 2011 10:49:21 +0000 (+0200) Subject: Fix syntax error X-Git-Tag: 29-1~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f8ecb1aca1edba22462b07d20599a6bc8944c70;p=systemd Fix syntax error --- diff --git a/debian/init-functions b/debian/init-functions index c0200925..81e4bd7b 100644 --- a/debian/init-functions +++ b/debian/init-functions @@ -34,10 +34,9 @@ if [ -e /sys/fs/cgroup/systemd ] ; then _use_systemctl=1 ;; esac - ;; - # 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 + # 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 _use_systemctl=0 fi ;;