pass through the retcode from the state call

This commit is contained in:
Thomas S Hatch 2013-08-10 02:33:58 -06:00
parent c43af7cf6f
commit c4a79bbba2

View file

@ -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():