aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xadd-service2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-service b/add-service
index 90dbf2d..6ab9244 100755
--- a/add-service
+++ b/add-service
@@ -25,7 +25,7 @@ add_chkconfig_service() {
/sbin/chkconfig --add $srv
# support for systemd
- if [ -x /bin/systemctl ];
+ if [ -x /bin/systemctl ]; then
/bin/systemctl enable ${srv}.service > /dev/null 2>&1
fi