mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
pass through the retcode from the state call
This commit is contained in:
parent
c43af7cf6f
commit
c4a79bbba2
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ def run(platform, provider, commit, clean):
|
|||
vm_name,
|
||||
commit),
|
||||
print('Running CMD: {0}'.format(cmd))
|
||||
subprocess.call(
|
||||
retcode = subprocess.call(
|
||||
cmd,
|
||||
shell=True)
|
||||
# Clean up the vm
|
||||
|
@ -40,7 +40,7 @@ def run(platform, provider, commit, clean):
|
|||
subprocess.call(
|
||||
cmd,
|
||||
shell=True)
|
||||
return 0
|
||||
return retcode
|
||||
|
||||
|
||||
def parse():
|
||||
|
|
Loading…
Add table
Reference in a new issue