mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Fix #4702
This commit is contained in:
parent
5cb8a7e6a3
commit
145a0bfc4e
@ -104,7 +104,7 @@ if ($opt_c && $opt_c =~ /^([0-9\.]+),([0-9\.]+),([0-9\.]+)$/) {
|
|||||||
exit $ERRORS{'OK'};
|
exit $ERRORS{'OK'};
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($opt_w && $opt_w =~ /^([0-9]+),([0-9]+),([0-9]+)$/) {
|
if ($opt_w && $opt_w =~ /^([0-9\.]+),([0-9\.]+),([0-9\.]+)$/) {
|
||||||
@warning = ($1,$2,$3);
|
@warning = ($1,$2,$3);
|
||||||
} elsif (!defined($opt_w) && !$opt_w) {
|
} elsif (!defined($opt_w) && !$opt_w) {
|
||||||
@warning = ('1', '3', '5');
|
@warning = ('1', '3', '5');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user