Skip to content

Commit

Permalink
Fix pre-trigger stage by replacing exit with return in lldpad.sh
Browse files Browse the repository at this point in the history
Using exit makes the pre-trigger stage finish after running 03-lldpad.sh
pre-trigger hook.
  • Loading branch information
rvykydal authored and danimo committed Mar 10, 2020
1 parent a76aa8e commit 7fb8f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/95fcoe/lldpad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fb8f93

Please sign in to comment.