From: Sage Weil Date: Fri, 25 Oct 2019 17:46:52 +0000 (-0500) Subject: ceph-daemon: fix warning message X-Git-Tag: v15.1.0~1158^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3ee7d4154ba8c15e33891e099422bbc1e64d2a93;p=ceph-ci.git ceph-daemon: fix warning message Signed-off-by: Sage Weil --- diff --git a/src/ceph-daemon b/src/ceph-daemon index 34735653472..3ae8d8feb81 100755 --- a/src/ceph-daemon +++ b/src/ceph-daemon @@ -214,7 +214,7 @@ def check_unit(unit_name): raise RuntimeError('exited with %d' % code) enabled = out.strip() == 'enabled' except Exception as e: - logger.warning('unable to run systemctl' % e) + logger.warning('unable to run systemctl: %s' % e) enabled = False try: out, err, code = call(['systemctl', 'is-active', unit_name], 'systemctl')