Browse Source

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

otherwise it might collide with stdout redirection
master
Harald Hoyer 10 years ago
parent
commit
57fb6e67de
  1. 4
      modules.d/99base/dracut-lib.sh

4
modules.d/99base/dracut-lib.sh

@ -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

Loading…
Cancel
Save