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

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