Merge pull request #29927 from abednarik/virtual_ret_debbuild_module

modules.debbuild: __virtual__ return err msg.
This commit is contained in:
Mike Place 2015-12-22 07:59:56 -07:00
commit 366c899b2d

View File

@ -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):