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 @@ -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 @@ -73,7 +73,7 @@ else
}

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

fi

Loading…
Cancel
Save