We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa86ee0 commit c79f65aCopy full SHA for c79f65a
1 file changed
lib/Monitoring/Plugin/Getopt.pm
@@ -445,7 +445,7 @@ sub getopts
445
# Setup default alarm handler for alarm($ng->timeout) in plugin
446
$SIG{ALRM} = sub {
447
my $plugin = uc $self->{_attr}->{plugin};
448
- $plugin =~ s/^CHECK[-_]//;
+ $plugin =~ s/^CHECK[-_]//i;
449
$self->_die(
450
sprintf("%s UNKNOWN - plugin timed out (timeout %ss)",
451
$plugin, $self->timeout));
0 commit comments