mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #29746 from abednarik/virtual_ret_win_path_module
modules.win_path: __virtual__ return err msg.
This commit is contained in:
commit
2e911760de
@ -35,7 +35,7 @@ def __virtual__():
|
||||
'''
|
||||
if salt.utils.is_windows() and HAS_WIN32:
|
||||
return 'win_path'
|
||||
return False
|
||||
return (False, "Module win_path: module only works on Windows systems")
|
||||
|
||||
|
||||
def _normalize_dir(string):
|
||||
|
Loading…
Reference in New Issue
Block a user