summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)