mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Adding EX_AGGREGATE exit code and using it
This commit is contained in:
parent
16ac1d87fe
commit
041bdbff18
@ -559,8 +559,8 @@ class SSH(object):
|
||||
sret,
|
||||
outputter,
|
||||
self.opts)
|
||||
|
||||
sys.exit(final_exit)
|
||||
if final_exit:
|
||||
sys.exit(salt.defaults.exitcodes.EX_AGGREGATE)
|
||||
|
||||
|
||||
class Single(object):
|
||||
|
@ -15,6 +15,9 @@ EX_THIN_DEPLOY = 11
|
||||
EX_THIN_CHECKSUM = 12
|
||||
EX_MOD_DEPLOY = 13
|
||||
|
||||
# One of a collection failed
|
||||
EX_AGGREGATE = 20
|
||||
|
||||
# The os.EX_* exit codes are Unix only so in the interest of cross-platform
|
||||
# compatiblility define them explicitly here.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user