autobuild: fixed exit status
authorAndrew Tridgell <tridge@samba.org>
Thu, 30 Sep 2010 16:37:42 +0000 (09:37 -0700)
committerAndrew Tridgell <tridge@samba.org>
Thu, 30 Sep 2010 16:45:13 +0000 (16:45 +0000)
this should fix the case where we don't send logs on failure

script/autobuild.py

index 2870068b20913694024512035bd2b7f154099ac2..1f1e6b47d59f25937e868f01f9533c03c4c794df 100755 (executable)
@@ -371,4 +371,4 @@ blist.remove_logs()
 cleanup()
 print(errstr)
 print("Logs in logs.tar.gz")
-sys.exit(os.WEXITSTATUS(status))
+sys.exit(status)