Merge pull request #49 from drewkerrigan/fix-ssl

Fix --insecure option
This commit is contained in:
Markus Opolka 2020-01-28 10:52:11 +01:00 committed by GitHub
commit 2541223cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -683,6 +683,8 @@ if __name__ == "__main__" and len(sys.argv) >= 2 and sys.argv[1] == 'UnitTest':
if __name__ == "__main__":
args = parseArgs()
nagios = NagiosHelper()
context = None
if args.version:
print('Version: %s - Date: %s' % (__version__, __version_date__))
exit(0)