99base: Don't let vinfo return 1
When DRACUT_SYSTEMD is set and DRACUT_QUIET=yes, vinfo returns 1. This is a problem for hooks which end with vinfo, as then the hook returns 1. Especially problematic if this is a shutdown hook, as it will be restarted again and again. This commit fixes that. Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>master
parent
c8b35bf96a
commit
c30070c8f5
|
@ -70,7 +70,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: $*" >&2
|
echo "dracut: $*" >&2 || :
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue