mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #37626 from cachedout/issue_37491
Exit with proper retcode on hard client failures
This commit is contained in:
commit
902a97575e
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ class SaltCMD(parsers.SaltCMDOptionParser):
|
|||
ret = str(exc)
|
||||
out = ''
|
||||
self._output_ret(ret, out)
|
||||
sys.exit(11)
|
||||
|
||||
def _run_batch(self):
|
||||
import salt.cli.batch
|
||||
|
|
Loading…
Add table
Reference in a new issue