From 7301f67792a862cb6a22fdbe1e3b7478421776ae Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Jan 15 2021 08:11:03 +0000 Subject: 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. (cherry picked from commit 7fb8f939a52a904b1860e303a6a7fe69ba0d2ceb) Resolves: #1914957 patch_name: 0132.patch present_in_specfile: true location_in_specfile: 132 squash_commits: true --- diff --git a/modules.d/95fcoe/lldpad.sh b/modules.d/95fcoe/lldpad.sh index c32feee..444c943 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