Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 255431
Collapse All | Expand All

(-)pm/functions.in.orig (-1 / +2 lines)
Lines 141-147 Link Here
141
141
142
stopservice()
142
stopservice()
143
{
143
{
144
	if service "$1" status 2>/dev/null | grep -c -q running; then
144
	if service "$1" status 2>/dev/null | grep -q -e running -e started
145
	then
145
		touch "${STORAGEDIR}/service:$1"
146
		touch "${STORAGEDIR}/service:$1"
146
		service "$1" stop
147
		service "$1" stop
147
	fi
148
	fi

Return to bug 255431