summaryrefslogtreecommitdiff
path: root/test/nagios/webapp_login.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/nagios/webapp_login.py')
-rwxr-xr-xtest/nagios/webapp_login.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/nagios/webapp_login.py b/test/nagios/webapp_login.py
index afa3edf..1711238 100755
--- a/test/nagios/webapp_login.py
+++ b/test/nagios/webapp_login.py
@@ -82,4 +82,5 @@ def fail(reason):
print '2 webapp_login - CRITICAL - ' + reason
exit(2)
-run_tests(read_config())
+if __name__ == '__main__':
+ run_tests(read_config())