aboutsummaryrefslogtreecommitdiffstats
path: root/del-service
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-10-09 12:24:24 +0100
committerColin Guthrie <colin@mageia.org>2014-10-09 12:24:24 +0100
commit48da69a11f9282311a22cf8efbe0257539f67717 (patch)
tree259a4a1392affc6c440cdcc25915501fe94c65be /del-service
parentae75bc928b9267aa5a7f15566755d31b158db85e (diff)
downloadrpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.tar
rpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.tar.gz
rpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.tar.bz2
rpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.tar.xz
rpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.zip
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)
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