aboutsummaryrefslogtreecommitdiffstats
path: root/del-service
diff options
context:
space:
mode:
Diffstat (limited to 'del-service')
-rwxr-xr-xdel-service2
1 files changed, 1 insertions, 1 deletions
diff --git a/del-service b/del-service
index 9f8adf4..2d28963 100755
--- a/del-service
+++ b/del-service
@@ -93,7 +93,7 @@ if [ $num = 0 ]; then
fi
fi
- /bin/systemctl --no-reload --quiet disable $units >/dev/null
+ /bin/systemctl --no-reload --quiet disable $units >/dev/null 2>&1
[ -n "$srv" -a -f /etc/rc.d/init.d/$srv ] && /sbin/chkconfig --del $srv
fi