From 8f8ecb1aca1edba22462b07d20599a6bc8944c70 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 7 Jul 2011 12:49:21 +0200 Subject: [PATCH] Fix syntax error --- debian/init-functions | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 ;; -- 2.39.5