Merge pull request #239 from lnykryn/cmdline

dracut-lib: put together CMDLINE even if /proc/cmdline does not exist
master
Harald Hoyer 2017-06-21 16:34:09 +02:00 committed by GitHub
commit a0d129e33e
1 changed files with 1 additions and 1 deletions

View File

@ -152,8 +152,8 @@ getcmdline() {
while read -r _line || [ -n "$_line" ]; do
CMDLINE_PROC="$CMDLINE_PROC $_line"
done </proc/cmdline;
CMDLINE="$CMDLINE_ETC_D $CMDLINE_ETC $CMDLINE_PROC"
fi
CMDLINE="$CMDLINE_ETC_D $CMDLINE_ETC $CMDLINE_PROC"
printf "%s" "$CMDLINE"
}