Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 72a6676efcb512e5a5d7dcb78bd22a2d > files > 23

pm-utils-1.2.0-3mdv2009.0.src.rpm

diff -p -up pm-utils-1.2.0/pm/functions.in.service_status pm-utils-1.2.0/pm/functions.in
--- pm-utils-1.2.0/pm/functions.in.service_status	2008-09-06 06:34:15.000000000 +0200
+++ pm-utils-1.2.0/pm/functions.in	2008-09-12 16:17:49.000000000 +0200
@@ -142,7 +142,7 @@ fi
 
 stopservice()
 {
-	if service "$1" status 2>/dev/null | grep -c -q running; then
+	if service "$1" status 2>/dev/null; then
 		touch "${STORAGEDIR}/service:$1"
 		service "$1" stop
 	fi