As the body of _selinux_postinst() is no longer a loop, continue does
not make sense in this context. Hence, change the continue to a return.

Signed-off-by: Rahul Sandhu <[email protected]>
---
 eclass/selinux-policy-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/selinux-policy-2.eclass b/eclass/selinux-policy-2.eclass
index dd4617557653..76ac40f2719e 100644
--- a/eclass/selinux-policy-2.eclass
+++ b/eclass/selinux-policy-2.eclass
@@ -330,7 +330,7 @@ selinux-policy-2_pkg_postinst() {
        _selinux_postinst() {
                if [[ "${1}" = "strict" && "${MODS}" = "unconfined" ]]; then
                        einfo "Ignoring loading of unconfined module in strict 
module store."
-                       continue
+                       return
                fi
 
                einfo "Inserting the following modules into the $i module 
store: ${MODS}"
-- 
2.50.1


Reply via email to