From 48da69a11f9282311a22cf8efbe0257539f67717 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Thu, 9 Oct 2014 12:24:24 +0100 Subject: Be quieter when disabling services on uninstall too. We don't really care about leaving left over cruft here as the package is getting removed. Dangling symlinks and such like can just be left there without getting in the way too much. (and this should be rare anyway) --- del-service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'del-service') 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 -- cgit v1.2.1