mirror of
https://github.com/Napsty/check_esxi_hardware.git
synced 2024-11-23 19:03:48 +01:00
check_esxi_hardware.py: revert last change
1. This change was wrong and inappropriate. 2. The issue I tried to fix was caused by the bug in python library pywbem: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780264
This commit is contained in:
parent
b3c0ca4cdd
commit
fb038edcda
@ -223,7 +223,6 @@ import pywbem
|
||||
import re
|
||||
import string
|
||||
from optparse import OptionParser,OptionGroup
|
||||
import os
|
||||
|
||||
version = '20150119'
|
||||
|
||||
@ -567,7 +566,7 @@ if os_platform != "win32":
|
||||
import signal
|
||||
def handler(signum, frame):
|
||||
print 'UNKNOWN: Execution time too long!'
|
||||
os._exit(ExitUnknown)
|
||||
sys.exit(ExitUnknown)
|
||||
|
||||
# connection to host
|
||||
verboseoutput("Connection to "+hosturl)
|
||||
|
Loading…
Reference in New Issue
Block a user