aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xdel-service2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 33a069f..7f63271 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+ * be quieter when disabling services on uninstall too
+
2014-10-09 Colin Guthrie <colin@mageia.org> 0.24.14
* be quieter when enabling services, but tell the user when it goes wrong
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