mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix typo
This commit is contained in:
parent
369f7ad3fc
commit
2b6aeb82a4
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def setenforce(mode):
|
|||
if isinstance(mode, str):
|
||||
if mode.lower() == 'enforcing':
|
||||
mode = '1'
|
||||
elif mode.lower() == 'Permissive':
|
||||
elif mode.lower() == 'permissive':
|
||||
mode = '0'
|
||||
else:
|
||||
return 'Invalid mode {0}'.format(mode)
|
||||
|
|
Loading…
Add table
Reference in a new issue