summaryrefslogtreecommitdiff
path: root/python/skytools/scripting.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/skytools/scripting.py')
-rw-r--r--python/skytools/scripting.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/skytools/scripting.py b/python/skytools/scripting.py
index cb6ee802..3a3556a2 100644
--- a/python/skytools/scripting.py
+++ b/python/skytools/scripting.py
@@ -510,6 +510,8 @@ class DBScript(object):
if self.looping and not self.do_single_loop:
time.sleep(20)
return 1
+ else:
+ sys.exit(1)
def work(self):
"""Here should user's processing happen.