aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdel-service2
1 files changed, 1 insertions, 1 deletions
diff --git a/del-service b/del-service
index 19a5953..fa38e88 100755
--- a/del-service
+++ b/del-service
@@ -24,7 +24,7 @@ if [ $num = 0 ]; then
/sbin/service $srv stop > /dev/null || :
fi
# support for systemd
- if [ -x /bin/systemctl ];
+ if [ -x /bin/systemctl ]; then
/bin/systemctl disable ${srv}.service > /dev/null 2>&1
/bin/systemctl daemon-reload
fi