summaryrefslogtreecommitdiff
path: root/system/cronvar.py
diff options
context:
space:
mode:
Diffstat (limited to 'system/cronvar.py')
-rw-r--r--system/cronvar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/cronvar.py b/system/cronvar.py
index 4c198d65..1a26182b 100644
--- a/system/cronvar.py
+++ b/system/cronvar.py
@@ -437,4 +437,5 @@ def main():
module.exit_json(msg="Unable to execute cronvar task.")
-main()
+if __name__ == '__main__':
+ main()