prevent kernel panic if variables are invalid
This commit is contained in:
1 parent
12a3429f36
commit
129ad17b36
1 file changed
+3
-3
@@ -77,9 +77,9 @@ parse_cmdline()
|
||||
rootflags=*) root_opts="${line##*=}" ;;
|
||||
ro | rw) rorw="-o $line" ;;
|
||||
--) init_args="${cmdline##*--}"; break ;;
|
||||
*=*) export "$line" ;;
|
||||
*) export "${line}=1" ;;
|
||||
esac; done
|
||||
*=*) command export "$line" ;;
|
||||
*) command export "${line}=1" ;;
|
||||
esac; done 2> /dev/null || :
|
||||
}
|
||||
|
||||
setup_devmgr()
|
||||
|
||||
Reference in new issue
Block a user