From: Harald Hoyer Date: Thu, 2 Jul 2015 13:02:31 +0000 (+0200) Subject: dracut-lib.sh:info() output info to stderr X-Git-Tag: 044~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57fb6e67de0cc58b9d188439b0ceb0d0d5dbbd6f;p=thirdparty%2Fdracut.git dracut-lib.sh:info() output info to stderr otherwise it might collide with stdout redirection --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 08110cc1d..cd1f49f18 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -63,7 +63,7 @@ if [ -z "$DRACUT_SYSTEMD" ]; then check_quiet echo "<30>dracut: $*" > /dev/kmsg [ "$DRACUT_QUIET" != "yes" ] && \ - echo "dracut: $*" + echo "dracut: $*" >&2 } else @@ -73,7 +73,7 @@ else } info() { - echo "$*" + echo "$*" >&2 } fi