]> git.ipfire.org Git - thirdparty/dracut.git/commit
99base: Don't let vinfo return 1
authorArnaud Rebillout <arnaud.rebillout@collabora.com>
Tue, 28 May 2019 03:46:03 +0000 (10:46 +0700)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 19 Jul 2019 14:24:20 +0000 (16:24 +0200)
commitc30070c8f503fc373268912890df2456da3de1fd
tree901f4c0fcccfadad20d62a6632315a31073a1678
parentc8b35bf96af1859c0c254db34a16b9cc5a2aa46b
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>
modules.d/99base/dracut-lib.sh