mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
modules.win_file: __virtual__ return err msg.
Updated message when return False on __virtual__ when system is not Windows.
This commit is contained in:
parent
4ba736d358
commit
44619b33ee
@ -149,7 +149,7 @@ def __virtual__():
|
||||
_add_flags = _namespaced_function(_add_flags, globals())
|
||||
|
||||
return __virtualname__
|
||||
return False
|
||||
return (False, "Module win_file: module only works on Windows systems")
|
||||
|
||||
__outputter__ = {
|
||||
'touch': 'txt',
|
||||
|
Loading…
Reference in New Issue
Block a user