]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: fix return code for multi-target commands
authorSage Weil <sage@inktank.com>
Sun, 16 Jun 2013 23:48:41 +0000 (16:48 -0700)
committerSage Weil <sage@inktank.com>
Sun, 16 Jun 2013 23:48:41 +0000 (16:48 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/ceph.in

index 40b3a8f8674164945fb3c5dcd799cb3cae80bda9..8616a55de931e81ba1031dab8285e202a4994f0a 100755 (executable)
@@ -1634,7 +1634,7 @@ def main():
         outf.close()
 
     if final_ret:
-        return ret
+        return final_ret
 
     return 0