From: Marcos Mello Date: Sun, 6 Nov 2022 15:43:47 +0000 (-0300) Subject: fix(dracut-init.sh): instmods: wrong variable name X-Git-Tag: 058~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b12ee558f5660073ad26415794570188e8a427b0;p=thirdparty%2Fdracut.git fix(dracut-init.sh): instmods: wrong variable name It worked most of the time because `dracut-install -o` returns 0 in normal circumstances. --- diff --git a/dracut-init.sh b/dracut-init.sh index aba42bb31..30de6f6cb 100755 --- a/dracut-init.sh +++ b/dracut-init.sh @@ -1138,7 +1138,7 @@ instmods() { -m "$@" fi - [[ "$optional" ]] && return 0 + [[ "$_optional" ]] && return 0 return $_ret }