From 3d8bbcf36ec7161d392540f87246a1657ab32164 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 29 Sep 2019 15:27:49 -0500 Subject: [PATCH] ceph-daemon: fix run command to use call(), not check_output() Signed-off-by: Sage Weil --- src/ceph-daemon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-daemon b/src/ceph-daemon index 88c3d35c37272..cc16e3bdf062e 100755 --- a/src/ceph-daemon +++ b/src/ceph-daemon @@ -598,7 +598,7 @@ def command_run(): (daemon_type, daemon_id) = args.name.split('.') (uid, gid) = extract_uid_gid() c = get_container(args.fsid, daemon_type, daemon_id) - c.run() + subprocess.call(c.run_cmd()) ################################## -- 2.39.5