]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
do not use init= arg as first argument
authorHarald Hoyer <harald@redhat.com>
Wed, 7 Oct 2009 10:48:47 +0000 (12:48 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 7 Oct 2009 10:48:47 +0000 (12:48 +0200)
modules.d/99base/init

index 54d35ccb35d8eb64a236670ed66aedc3af758363..a5b565c3aa79255fd0048dba6f34775429b5c285 100755 (executable)
@@ -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