mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
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:
commit
b656c48e94
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user