|
|
9322d7 |
From e96bab3e688b7fc9b6f5e6b90c6d1ea4d517bc4a Mon Sep 17 00:00:00 2001
|
|
|
9322d7 |
From: Radek Vykydal <rvykydal@redhat.com>
|
|
|
9322d7 |
Date: Tue, 10 Mar 2020 10:48:21 +0100
|
|
|
9322d7 |
Subject: [PATCH] Fix pre-trigger stage by replacing exit with return in
|
|
|
9322d7 |
lldpad.sh
|
|
|
9322d7 |
|
|
|
9322d7 |
Using exit makes the pre-trigger stage finish after running 03-lldpad.sh
|
|
|
9322d7 |
pre-trigger hook.
|
|
|
9322d7 |
|
|
|
9322d7 |
(cherry picked from commit 7fb8f939a52a904b1860e303a6a7fe69ba0d2ceb)
|
|
|
9322d7 |
|
|
|
9322d7 |
Resolves: #1914957
|
|
|
9322d7 |
---
|
|
|
9322d7 |
modules.d/95fcoe/lldpad.sh | 2 +-
|
|
|
9322d7 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9322d7 |
|
|
|
9322d7 |
diff --git a/modules.d/95fcoe/lldpad.sh b/modules.d/95fcoe/lldpad.sh
|
|
|
9322d7 |
index c32feeed..444c943e 100755
|
|
|
9322d7 |
--- a/modules.d/95fcoe/lldpad.sh
|
|
|
9322d7 |
+++ b/modules.d/95fcoe/lldpad.sh
|
|
|
9322d7 |
@@ -2,7 +2,7 @@
|
|
|
9322d7 |
|
|
|
9322d7 |
if ! getargbool 0 rd.nofcoe ; then
|
|
|
9322d7 |
info "rd.nofcoe=0: skipping lldpad activation"
|
|
|
9322d7 |
- exit 0
|
|
|
9322d7 |
+ return 0
|
|
|
9322d7 |
fi
|
|
|
9322d7 |
|
|
|
9322d7 |
# Note lldpad will stay running after switchroot, the system initscripts
|
|
|
a8b105 |
|