|
|
9322d7 |
From 1651c3074f596b80478473a126c02c27398429dd Mon Sep 17 00:00:00 2001
|
|
|
9322d7 |
From: Daniel Molkentin <dmolkentin@suse.com>
|
|
|
9322d7 |
Date: Thu, 18 Jul 2019 11:29:29 +0200
|
|
|
9322d7 |
Subject: [PATCH] 95fcoe: Fix startup when fcoe module is included
|
|
|
9322d7 |
|
|
|
9322d7 |
The parse-fcoe.sh hook is sourced, and hence must not contain
|
|
|
9322d7 |
exit 0 calls. Otherwise, the cmdline sequence will be interupted,
|
|
|
9322d7 |
and no error will be reported to systemd. Use return instead.
|
|
|
9322d7 |
|
|
|
9322d7 |
Reference: boo#1136977
|
|
|
9322d7 |
(cherry picked from commit 4f194276417237168f5bc929ba847a23b6a4c77f)
|
|
|
9322d7 |
|
|
|
9322d7 |
Resolves: #1914957
|
|
|
9322d7 |
---
|
|
|
9322d7 |
modules.d/95fcoe/parse-fcoe.sh | 2 +-
|
|
|
9322d7 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9322d7 |
|
|
|
9322d7 |
diff --git a/modules.d/95fcoe/parse-fcoe.sh b/modules.d/95fcoe/parse-fcoe.sh
|
|
|
9322d7 |
index 7a6ff755..8bb55c6e 100755
|
|
|
9322d7 |
--- a/modules.d/95fcoe/parse-fcoe.sh
|
|
|
9322d7 |
+++ b/modules.d/95fcoe/parse-fcoe.sh
|
|
|
9322d7 |
@@ -15,7 +15,7 @@
|
|
|
9322d7 |
|
|
|
9322d7 |
if ! getargbool 0 rd.nofcoe ; then
|
|
|
9322d7 |
info "rd.nofcoe=0: skipping fcoe"
|
|
|
9322d7 |
- exit 0
|
|
|
9322d7 |
+ return 0
|
|
|
9322d7 |
fi
|
|
|
9322d7 |
|
|
|
9322d7 |
[ -z "$fcoe" ] && fcoe=$(getarg fcoe=)
|
|
|
9322d7 |
|