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

(-)sbin/rc-daemon.sh (-1 / +1 lines)
Lines 378-384 Link Here
378
				# We should really check for valid cmd AND pidfile
378
				# We should really check for valid cmd AND pidfile
379
				# But most called to --stop only set the pidfile
379
				# But most called to --stop only set the pidfile
380
				if [[ ${RC_DAEMONS[i]} == "{cmd}" \
380
				if [[ ${RC_DAEMONS[i]} == "{cmd}" \
381
					|| ${RC_PIDFILES[i]}="${pidfile}" ]]; then
381
					|| ${RC_PIDFILES[i]} == "${pidfile}" ]]; then
382
					unset RC_DAEMONS[i] RC_PIDFILES[i]
382
					unset RC_DAEMONS[i] RC_PIDFILES[i]
383
					RC_DAEMONS=( "${RC_DAEMONS[@]}" )
383
					RC_DAEMONS=( "${RC_DAEMONS[@]}" )
384
					RC_PIDFILES=( "${RC_PIDFILES[@]}" )
384
					RC_PIDFILES=( "${RC_PIDFILES[@]}" )

Return to bug 130166