Hi!

In SLES11 SP2 ldirectord (ldirectord-3.9.4-0.26.84) in debug mode shows the 
message:
Use of uninitialized value in numeric gt (>) at /usr/sbin/ldirectord line 4037.

It looks like a bug to me. The line in question (in _service_up()) is this:
 if ($r->{failcount} > 0) {

Only AFTER that line, that variable seems to be set:
$r->{failcount} = 0;

It does not look like a serious problem, but the message is clearly avoidable 
by initializing the variable before using it.

(personally I develop all my Perl with "use warnings; use strict")

Regards,
Ulrich

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to