do not use init= arg as first argument

master
Harald Hoyer 2009-10-07 12:48:47 +02:00
parent 3f793c91f4
commit 8d0a55cfac
1 changed files with 1 additions and 0 deletions

View File

@ -227,6 +227,7 @@ if getarg init= >/dev/null ; then
read CLINE </proc/cmdline
CLINE=${CLINE#*init=}
set $CLINE
shift
for x in "$@"; do
for s in $ignoreargs; do
[ "${x%%=*}" = $s ] && continue 2