--- /sbin/runscript.sh.orig 2010-08-26 04:47:36.617879000 +0200 +++ /sbin/runscript.sh 2010-09-03 15:06:30.109790869 +0200 @@ -8,7 +8,7 @@ [[ ${RC_GOT_FUNCTIONS} != "yes" ]] && source /etc/init.d/functions.sh # User must be root to run most script stuff (except status) -if [[ ${EUID} != "0" ]] && [[ " $* " != " status " ]] ; then +if [[ ${EUID} != "0" ]] && ! [[ "$*" =~ " status" ]] ; then eerror "$0: must be root to run init scripts" exit 1 fi