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-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F31141%2Fhead;p=ceph.git ceph-daemon: fix warning message Signed-off-by: Sage Weil --- diff --git a/src/ceph-daemon b/src/ceph-daemon index 34735653472f..3ae8d8feb816 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')