mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add error message for non-windows systems.
This commit is contained in:
parent
d33cb75971
commit
474d1bbbbf
@ -41,7 +41,7 @@ def __virtual__():
|
||||
'''
|
||||
if salt.utils.is_windows():
|
||||
return __virtualname__
|
||||
return False
|
||||
return (False, 'This module only works on Windows.')
|
||||
|
||||
|
||||
def genrepo():
|
||||
|
Loading…
Reference in New Issue
Block a user