]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-logger.sh: log also rest of line without return
authorHarald Hoyer <harald@redhat.com>
Sat, 15 Aug 2015 13:42:51 +0000 (15:42 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 18 Aug 2015 09:55:05 +0000 (11:55 +0200)
dracut-logger.sh

index 70b0da4c624def2e6770c97b80391337bc7ec1e5..ffa561674bf7f4c793a8f03c41616f5357c727b1 100755 (executable)
@@ -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