Fix non-functional init_opts parameter, bug #422471

If INIT_OPTS='' is not specified before the argument loop, scoping rules
will prevent it from being seen by the switch_root invocation.

Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Richard Yao <ryao@gentoo.org>
cleanup-cruft
Toralf Förster 12 years ago committed by Richard Yao
parent 32a9b007bf
commit 543181ebef

@ -38,6 +38,7 @@ CMDLINE=$(cat /proc/cmdline)
FAKE_ROOT='' FAKE_ROOT=''
FAKE_INIT='' FAKE_INIT=''
REAL_ROOTFLAGS='' REAL_ROOTFLAGS=''
INIT_OPTS=''
ROOTFSTYPE='auto' ROOTFSTYPE='auto'
CRYPT_SILENT=0 CRYPT_SILENT=0

Loading…
Cancel
Save