dracut-lib.sh:info() output info to stderr

otherwise it might collide with stdout redirection

(cherry picked from commit 57fb6e67de)
Harald Hoyer 2015-07-02 15:02:31 +02:00
parent bd98c4def1
commit e2b5b450e7
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ if [ -z "$DRACUT_SYSTEMD" ]; then
check_quiet
echo "<30>dracut: $*" > /dev/kmsg
[ "$DRACUT_QUIET" != "yes" ] && \
echo "dracut: $*"
echo "dracut: $*" >&2
}

else
@ -61,7 +61,7 @@ else
}

info() {
echo "$*"
echo "$*" >&2
}

fi