print right return value

This commit is contained in:
Alex Groce
2018-07-13 21:30:19 -07:00
parent d06233b2cf
commit ec52c6e27d
+1 -1
View File
@@ -32,7 +32,7 @@ def logrun(cmd, file, timeout):
sys.stderr.write("\nDONE\n\n")
sys.stderr.write("TOTAL EXECUTION TIME: " + str(totalTime) + "\n")
sys.stderr.write("RETURN VALUE: " + str(p.returncode) + "\n")
sys.stderr.write("RETURNING AS RESULT: " + str(rv[1]) + "\n")
sys.stderr.write("RETURNING AS RESULT: " + str(rv[0]) + "\n")
sys.stderr.write("=" * 80 + "\n")
return rv