summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 9c3d7fc7..f0a65fa3 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -133,7 +133,7 @@ class SeLinuxGuard(object):
def __enter__(self):
# TODO: Should we try to engage selinux here??
- return None
+ return self.enabled
def __exit__(self, excp_type, excp_value, excp_traceback):
if self.enabled: