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#1136977master
parent
8c6ab479ab
commit
4f19427641
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
if ! getargbool 0 rd.nofcoe ; then
|
if ! getargbool 0 rd.nofcoe ; then
|
||||||
info "rd.nofcoe=0: skipping fcoe"
|
info "rd.nofcoe=0: skipping fcoe"
|
||||||
exit 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -z "$fcoe" ] && fcoe=$(getarg fcoe=)
|
[ -z "$fcoe" ] && fcoe=$(getarg fcoe=)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue