mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Revert case change
This commit is contained in:
parent
161fbe5d88
commit
47ed2951dd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue