Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
danimo committed Jul 18, 2019
1 parent 8c6ab47 commit 4f19427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/95fcoe/parse-fcoe.sh
Expand Up @@ -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=)
Expand Down

0 comments on commit 4f19427

Please sign in to comment.