Merge pull request #34677 from santiwst/fix_no_error_when_no_permission

fix no error message when no permission on the log folder
This commit is contained in:
Mike Place 2016-07-15 15:26:10 -06:00 committed by GitHub
commit b656c48e94

View File

@ -311,9 +311,7 @@ class SaltSystemExit(SystemExit):
nothing else to do, salt should just exit.
'''
def __init__(self, code=0, msg=None):
SystemExit.__init__(self, code)
if msg:
self.message = msg
SystemExit.__init__(self, msg)
class SaltCloudException(SaltException):