[Nagiosplug-devel] changing check_disk -E behaviour

Matthias Eble matthias.eble at mailing.kaufland-informationssysteme.com
Tue Sep 18 08:21:55 CEST 2007


>> I'd suggest to change -E to be only allowed prior to -p and -r 
>> arguments. This would cause an incompatibility but would also become 
>> revealed instantly after upgrading (check_disk exiting UNKNOWN).
>>
> 
> Hand-parse the arguments once before going through the optind routines.
> That way you can bail with a sane error message.

That'd be how to do it. My question was more whether you/the list think 
the breaking of backward compatibility is passable in that case.
I didn't make that clear enough though.

Matthias




More information about the Devel mailing list