mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #29747 from abednarik/virtual_ret_win_ntp_module
modules.win_ntp: __virtual__ return err msg.
This commit is contained in:
commit
c477c32736
@ -23,7 +23,7 @@ def __virtual__():
|
||||
This only supports Windows
|
||||
'''
|
||||
if not salt.utils.is_windows():
|
||||
return False
|
||||
return (False, "Module win_system: module only works on Windows systems")
|
||||
return __virtualname__
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user