diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper
index c5659c4..c450008 100755
--- a/data_from_portwine/scripts/functions_helper
+++ b/data_from_portwine/scripts/functions_helper
@@ -756,19 +756,15 @@ check_selinux () {
         if grep -i ^"SELINUX=enforcing" /run/host/etc/selinux/config &>/dev/null ; then
             export SELINUX_IN_USE=1
             return 0
-        else
-            export SELINUX_IN_USE=0
-            return 1
         fi
     else
         if grep -i ^"SELINUX=enforcing" /etc/selinux/config &>/dev/null ; then
             export SELINUX_IN_USE=1
             return 0
-        else
-            export SELINUX_IN_USE=0
-            return 1
         fi
     fi
+    export SELINUX_IN_USE=0
+    return 1
 }
 export -f check_selinux