mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 02:13:44 +01:00
check_eva new Make sure --timeout is an integer
This commit is contained in:
parent
3d867d84c0
commit
46024baa26
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user