Skip to content

Commit

Permalink
modules.win_ip: __virtual__ return err msg.
Browse files Browse the repository at this point in the history
Updated message when return False on __virtual__ when system is not Windows.
  • Loading branch information
abednarik committed Dec 16, 2015
1 parent f1e1b31 commit 068de3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/win_ip.py
Expand Up @@ -32,7 +32,7 @@ def __virtual__():
'''
if salt.utils.is_windows():
return __virtualname__
return False
return (False, "Module win_ip: module only works on Windows systems")


def _interface_configs():
Expand Down

0 comments on commit 068de3d

Please sign in to comment.