summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ick_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ick_helpers.py b/ick_helpers.py
index 4290629..533f7c1 100644
--- a/ick_helpers.py
+++ b/ick_helpers.py
@@ -47,7 +47,7 @@ class Exec:
sys.stdout.write("STDOUT:\n%s" % x.stdout.decode("UTF-8"))
if x.stderr:
sys.stdout.write("STDERR:\n%s" % x.stderr.decode("UTF-8"))
- sys.stdout.write("EXIT: %s\n" % x.returncde)
+ sys.stdout.write("EXIT: %s\n" % x.returncode)
if check and x.returncode > 0:
raise Exception("command failed")
return x