Commit 8f8ecb1a authored by Tollef Fog Heen's avatar Tollef Fog Heen
Browse files

Fix syntax error

parent bf3ddb40
......@@ -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
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment