diff --git a/dracut-functions b/dracut-functions index 4409a854..fa75642e 100755 --- a/dracut-functions +++ b/dracut-functions @@ -20,7 +20,7 @@ # along with this program. If not, see . # -if [[ ! $__DRACUT_LOGGER__ ]]; then +if ! type dinfo >/dev/null 2>&1; then . "$dracutbasedir/dracut-logger" dlog_init fi