mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
+ Fix #80
This commit is contained in:
parent
2904929729
commit
83d363ba50
@ -56,7 +56,7 @@ sub class_handle_ALRM {
|
|||||||
sub handle_ALRM {
|
sub handle_ALRM {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
$self->{logger}->writeLogError("Child process autokill!!");
|
$self->{logger}->writeLogError('Child process autokill!!');
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ sub build_filter {
|
|||||||
} elsif (!defined($self->{$options{search_option}})) {
|
} elsif (!defined($self->{$options{search_option}})) {
|
||||||
$filters->{name} = qr/.*/;
|
$filters->{name} = qr/.*/;
|
||||||
} else {
|
} else {
|
||||||
if ($self->{case_insensitive} == 1) {
|
if ($self->{global_case_insensitive} == 1) {
|
||||||
$filters->{name} = qr/$self->{$options{search_option}}/i;
|
$filters->{name} = qr/$self->{$options{search_option}}/i;
|
||||||
} else {
|
} else {
|
||||||
$filters->{name} = qr/$self->{$options{search_option}}/;
|
$filters->{name} = qr/$self->{$options{search_option}}/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user