From: Harald Hoyer Date: Tue, 28 Jul 2009 16:27:37 +0000 (+0200) Subject: getarg()/getargs(): check existance of /etc/cmdline before reading it X-Git-Tag: 0.8~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f72c10f6570cc254d7f2d2c5648fe099b76d3ff0;p=thirdparty%2Fdracut.git getarg()/getargs(): check existance of /etc/cmdline before reading it --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index b4dd73130..31b95b064 100644 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -1,7 +1,7 @@ getarg() { local o line if [ -z "$CMDLINE" ]; then - read CMDLINE_ETC