dracut-lib.sh:info() output info to stderr
otherwise it might collide with stdout redirection
(cherry picked from commit 57fb6e67de)
parent
bd98c4def1
commit
e2b5b450e7
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue