summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-30 01:04:25 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-30 01:04:25 +0100
commit0da3845cd2dcb59fd4e407b85274aba389d7c2d6 (patch)
treedf9119841373260189a0016f9d2c23f031214ae7
parent9ece08d361b8440a168fe83c82b297052c3df48e (diff)
Fix format character.
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index b422c36..0aa4fd2 100755
--- 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)