From: Radek Vykydal Date: Tue, 10 Mar 2020 09:48:21 +0000 (+0100) Subject: Fix pre-trigger stage by replacing exit with return in lldpad.sh X-Git-Tag: 051~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fb8f939a52a904b1860e303a6a7fe69ba0d2ceb;p=thirdparty%2Fdracut.git Fix pre-trigger stage by replacing exit with return in lldpad.sh Using exit makes the pre-trigger stage finish after running 03-lldpad.sh pre-trigger hook. --- diff --git a/modules.d/95fcoe/lldpad.sh b/modules.d/95fcoe/lldpad.sh index c32feeedf..444c943e8 100755 --- a/modules.d/95fcoe/lldpad.sh +++ b/modules.d/95fcoe/lldpad.sh @@ -2,7 +2,7 @@ if ! getargbool 0 rd.nofcoe ; then info "rd.nofcoe=0: skipping lldpad activation" - exit 0 + return 0 fi # Note lldpad will stay running after switchroot, the system initscripts