Fix format character.
authorCarl Hetherington <cth@carlh.net>
Mon, 30 Nov 2020 00:04:25 +0000 (01:04 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 30 Nov 2020 00:04:25 +0000 (01:04 +0100)
cdist

diff --git a/cdist b/cdist
index b422c36fce7fe4bdf559b2f33bf8d219fb616592..0aa4fd2d9587fae1832c81571f4aff1b4796f6e2 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -261,7 +261,7 @@ def command(c):
         if r.returncode != 0:
             raise Error('command %s failed (%d)' % (c, r.returncode))
     except Exception as e:
-        raise Error('command %s failed (%d)' % (c, e))
+        raise Error('command %s failed (%s)' % (c, e))
 
 def command_and_read(c):
     log_normal(c)