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

otherwise it might collide with stdout redirection
master
Harald Hoyer 2015-07-02 15:02:31 +02:00
parent 916559e073
commit 57fb6e67de
1 changed files with 2 additions and 2 deletions

View File

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


else else
@ -73,7 +73,7 @@ else
} }


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


fi fi