[Yum-devel] [PATCH] yum-updatesd: Kill the yum-updatesd-helper when stopping yum-updatesd

Luke Macken lmacken at redhat.com
Mon Oct 29 18:35:37 UTC 2007


diff --git a/etc/yum-updatesd.init b/etc/yum-updatesd.init
index 2b166c4..87bcd81 100755
--- a/etc/yum-updatesd.init
+++ b/etc/yum-updatesd.init
@@ -41,6 +41,11 @@ start() {
 stop() {
 	echo -n $"Stopping yum-updatesd: "
 	killproc yum-updatesd
+	if [ -n "$(pidofproc yum-updatesd-helper)" ] ; then
+		echo
+		echo -n $"Stopping yum-updatesd-helper: "
+		killproc yum-updatesd-helper
+	fi
 	echo
 	[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/yum-updatesd
 }
-- 
1.5.3.4




More information about the Yum-devel mailing list