From: Harald Hoyer Date: Sat, 15 Aug 2015 13:42:51 +0000 (+0200) Subject: dracut-logger.sh: log also rest of line without return X-Git-Tag: RHEL-7.2~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=415d0c68ab1aaff7892e2187f8a18341bfeef796;p=thirdparty%2Fdracut.git dracut-logger.sh: log also rest of line without return --- diff --git a/dracut-logger.sh b/dracut-logger.sh index 70b0da4c6..ffa561674 100755 --- a/dracut-logger.sh +++ b/dracut-logger.sh @@ -367,7 +367,7 @@ dlog() { if (( $# > 1 )); then _do_dlog "$@" else - while read line; do + while read line || [ -n "$line" ]; do _do_dlog "$1" "$line" done fi