aboutsummaryrefslogtreecommitdiff
path: root/ipsutils/task.py
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2013-04-30 11:48:00 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2013-04-30 11:48:00 -0400
commitd5f5e4ef9a6f4d9327828660070c431f08117d89 (patch)
tree1a68482bfd71e8e19c450e6f615320cf709e0d05 /ipsutils/task.py
parent696543543307d7e55a0ef75f4a416aa3e5338c2b (diff)
downloadipsutils-d5f5e4ef9a6f4d9327828660070c431f08117d89.tar.gz
Exit on task failure
Diffstat (limited to 'ipsutils/task.py')
-rw-r--r--ipsutils/task.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipsutils/task.py b/ipsutils/task.py
index 321fec8..328889a 100644
--- a/ipsutils/task.py
+++ b/ipsutils/task.py
@@ -29,6 +29,7 @@ class TaskController(object):
for stack_entry in self.stack:
status = stack_entry.run()
if not status:
+ print("Exiting...")
exit(status)