]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
Update the run function to cascade the called process's return code back to its caller
authorJoe Handzik <joseph.t.handzik@hp.com>
Thu, 9 Apr 2015 22:05:35 +0000 (17:05 -0500)
committerJoe Handzik <joseph.t.handzik@hp.com>
Thu, 9 Apr 2015 22:05:35 +0000 (17:05 -0500)
vendor.py

index 5a88856361f87bec8d7381c7a3f62e6ad0fc8c06..f56f1c3df85e2d414bd46786ac608d323d081b45 100644 (file)
--- a/vendor.py
+++ b/vendor.py
@@ -31,6 +31,8 @@ def run(cmd):
     if result.wait():
         print_error(result.stdout.readlines(), result.stderr.readlines())
 
+    return result.returncode
+
 
 def print_error(stdout, stderr):
     print '*'*80