1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-21 18:03:45 +01:00

check_eva new Make sure --timeout is an integer

This commit is contained in:
Pall Sigurdsson 2013-09-12 09:14:58 +00:00
parent 3d867d84c0
commit 46024baa26

View File

@ -132,7 +132,7 @@ while len(arguments) > 0:
elif arg == '-T' or arg == '--test':
testmode = 1
elif arg == '--timeout':
timeout = arguments.pop(0)
timeout = int(arguments.pop(0))
elif arg == '--path':
path = arguments.pop(0) + '/'
elif arg == '-M' or arg == '--mode':