Merge pull request #37626 from cachedout/issue_37491

Exit with proper retcode on hard client failures
This commit is contained in:
Mike Place 2016-11-11 15:38:47 +13:00 committed by GitHub
commit 902a97575e

View file

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