Blame SOURCES/0250-dracut-lib.sh-info-output-info-to-stderr.patch

712866
From e2b5b450e7aac101d12149fdf0623106799933ff Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Thu, 2 Jul 2015 15:02:31 +0200
712866
Subject: [PATCH] dracut-lib.sh:info() output info to stderr
712866
712866
otherwise it might collide with stdout redirection
712866
712866
(cherry picked from commit 57fb6e67de0cc58b9d188439b0ceb0d0d5dbbd6f)
712866
---
712866
 modules.d/99base/dracut-lib.sh | 4 ++--
712866
 1 file changed, 2 insertions(+), 2 deletions(-)
712866
712866
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
5c6c2a
index b490e824..69f70799 100755
712866
--- a/modules.d/99base/dracut-lib.sh
712866
+++ b/modules.d/99base/dracut-lib.sh
712866
@@ -51,7 +51,7 @@ if [ -z "$DRACUT_SYSTEMD" ]; then
712866
         check_quiet
712866
         echo "<30>dracut: $*" > /dev/kmsg
712866
         [ "$DRACUT_QUIET" != "yes" ] && \
712866
-            echo "dracut: $*"
712866
+            echo "dracut: $*" >&2
712866
     }
712866
 
712866
 else
712866
@@ -61,7 +61,7 @@ else
712866
     }
712866
 
712866
     info() {
712866
-        echo "$*"
712866
+        echo "$*" >&2
712866
     }
712866
 
712866
 fi