[Nagiosplug-devel] Problem with check_mysql

Ben Clewett Ben at clewett.org.uk
Tue Apr 6 07:35:13 CEST 2004


I believe there might be a possible error in check_mysql, other than the 
one I just posted to nagios-help.

Just downloaded 1.4.0 alpha1 and tried to 'make'.  The program makes ok, 
but core-dump's on execution.

On inspection, I found (around) line 122:

	if (argc < 1)
		return ERROR;

I believe this should be:

	if (argc <= 1)
		return ERROR;

It certainly allows the program to run correctly if this is done.

Regards,

Ben Clewett.








More information about the Devel mailing list