Skip to content

Commit 8a86430

Browse files
committed
fix for: Undefined subroutine &main::debuglog called at /usr/lib64/nagios/plugins/check_rbl line 154.
1 parent 5218340 commit 8a86430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_rbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ sub init_dns_resolver {
151151
capture { $resolver->nameservers( $options->nameserver ); };
152152

153153
if ( @servers == 0 ) {
154-
debuglog("DNS nameserver error: $stderr");
154+
debug("DNS nameserver error: $stderr");
155155
$plugin->nagios_exit( Monitoring::Plugin->CRITICAL,
156156
'Invalid nameserver ' . $options->nameserver );
157157
}

0 commit comments

Comments
 (0)