Revert case change

This commit is contained in:
David Murphy 2023-05-31 15:47:21 -06:00 committed by Megan Wilhite
parent 161fbe5d88
commit 47ed2951dd

View file

@ -175,7 +175,7 @@ def copyfile(source, dest, backup_mode="", cachedir=""):
policy = salt.modules.selinux.getenforce()
except (ImportError, CommandExecutionError):
pass
if policy == "enforcing":
if policy == "Enforcing":
with fopen(os.devnull, "w") as dev_null:
cmd = [rcon, dest]
subprocess.call(cmd, stdout=dev_null, stderr=dev_null)