This is needed to correctly parse init arguments.
Fixes: 2fabaaa62dcfd31e593ca45e1374e55adae29d6b
ignoreargs="console BOOT_IMAGE"
# only pass arguments after init= to the init
CLINE=${CLINE#*init=}
- set -- "$CLINE"
+ # shellcheck disable=SC2086
+ set -- $CLINE
shift # clear out the rest of the "init=" arg
for x in "$@"; do
for s in $ignoreargs; do
unset CLINE
else
debug_off # Turn off debugging for this section
- set -- "$CLINE"
+ # shellcheck disable=SC2086
+ set -- $CLINE
for x in "$@"; do
case "$x" in
[0-9] | s | S | single | emergency | auto)