From fb0899b8dc8bbdc8086bfb1faa4e1e976c27f818 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 23 Oct 2019 14:04:30 -0500 Subject: [PATCH] ceph-daemon: fix ceph-volume command to write stdout to stdout Signed-off-by: Sage Weil --- src/ceph-daemon | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ceph-daemon b/src/ceph-daemon index b7b25edc149..e3426ca5447 100755 --- a/src/ceph-daemon +++ b/src/ceph-daemon @@ -1149,7 +1149,9 @@ def command_ceph_volume(): podman_args=['--privileged'], volume_mounts=mounts, ) - call_throws(c.run_cmd(), verbose=True) + out, err, code = call_throws(c.run_cmd(), verbose=True) + if not code: + print(out) ################################## -- 2.39.5