From: Daniel Molkentin Date: Thu, 18 Jul 2019 09:29:29 +0000 (+0200) Subject: 95fcoe: Fix startup when fcoe module is included X-Git-Tag: 050~221 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fdracut.git;a=commitdiff_plain;h=4f194276417237168f5bc929ba847a23b6a4c77f 95fcoe: Fix startup when fcoe module is included The parse-fcoe.sh hook is sourced, and hence must not contain exit 0 calls. Otherwise, the cmdline sequence will be interupted, and no error will be reported to systemd. Use return instead. Reference: boo#1136977 --- diff --git a/modules.d/95fcoe/parse-fcoe.sh b/modules.d/95fcoe/parse-fcoe.sh index 748f7a98d..c05adb60f 100755 --- a/modules.d/95fcoe/parse-fcoe.sh +++ b/modules.d/95fcoe/parse-fcoe.sh @@ -15,7 +15,7 @@ if ! getargbool 0 rd.nofcoe ; then info "rd.nofcoe=0: skipping fcoe" - exit 0 + return 0 fi [ -z "$fcoe" ] && fcoe=$(getarg fcoe=)