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
master
Daniel Molkentin 2019-07-18 11:29:29 +02:00 committed by Daniel Molkentin
parent 8c6ab479ab
commit 4f19427641
1 changed files with 1 additions and 1 deletions

View File

@ -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=)