mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #29927 from abednarik/virtual_ret_debbuild_module
modules.debbuild: __virtual__ return err msg.
This commit is contained in:
commit
366c899b2d
@ -34,7 +34,7 @@ def __virtual__():
|
||||
'''
|
||||
if __grains__.get('os_family', False) in ('Kali', 'Debian'):
|
||||
return __virtualname__
|
||||
return False
|
||||
return (False, 'The debbuild module could not be loaded: unsupported OS family')
|
||||
|
||||
|
||||
def _get_build_env(env):
|
||||
|
Loading…
Reference in New Issue
Block a user