mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix schedule_enabled
This commit is contained in:
parent
12668fe447
commit
38766a00af
@ -223,7 +223,7 @@ def schedule_enabled():
|
||||
except CommandExecutionError as exc:
|
||||
raise CommandExecutionError(exc)
|
||||
|
||||
enabled = salt.utils.mac_utils.parse_return(ret)
|
||||
enabled = out.split()[-1]
|
||||
|
||||
return salt.utils.mac_utils.validate_enabled(enabled) == 'on'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user