Skip to content

Commit

Permalink
Merge branch 'master' of github.com:matteocorti/check_rbl
Browse files Browse the repository at this point in the history
matteocorti committed Sep 20, 2024
2 parents 76685b0 + eeec013 commit e97ea3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_rbl
Original file line number Diff line number Diff line change
@@ -151,7 +151,7 @@ sub init_dns_resolver {
capture { $resolver->nameservers( $options->nameserver ); };

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

0 comments on commit e97ea3f

Please sign in to comment.