From f72c10f6570cc254d7f2d2c5648fe099b76d3ff0 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 28 Jul 2009 18:27:37 +0200 Subject: [PATCH] getarg()/getargs(): check existance of /etc/cmdline before reading it --- modules.d/99base/dracut-lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index b4dd7313..31b95b06 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