modules.win_file: __virtual__ return err msg.

Updated message when return False on __virtual__ when system is not Windows.
This commit is contained in:
abednarik 2015-12-16 15:09:14 -03:00
parent 4ba736d358
commit 44619b33ee

View File

@ -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',