Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 186459 | Differences between
and this patch

Collapse All | Expand All

(-)/sbin/runscript.sh.orig (-1 / +1 lines)
Lines 8-14 Link Here
8
[[ ${RC_GOT_FUNCTIONS} != "yes" ]] && source /etc/init.d/functions.sh
8
[[ ${RC_GOT_FUNCTIONS} != "yes" ]] && source /etc/init.d/functions.sh
9
9
10
# User must be root to run most script stuff (except status)
10
# User must be root to run most script stuff (except status)
11
if [[ ${EUID} != "0" ]] && [[ " $* " != " status " ]] ; then
11
if [[ ${EUID} != "0" ]] && ! [[ "$*" =~ " status" ]] ; then
12
	eerror "$0: must be root to run init scripts"
12
	eerror "$0: must be root to run init scripts"
13
	exit 1
13
	exit 1
14
fi
14
fi

Return to bug 186459