fix(bug) bis

This commit is contained in:
Simon Bomm 2020-08-10 15:38:10 +02:00 committed by GitHub
parent 8540c32194
commit 4fedaa208e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ sub manage_selection {
next if ($line !~ /$self->{regex}/);
my ($remote_peer, $peer_fate) = (centreon::plugins::misc::trim($2), centreon::plugins::misc::trim($1));
if ($self->{option_results}->{command} eq 'chronyc') {
if ($self->{command} eq 'chronyc') {
$remote_peer = centreon::plugins::misc::trim($3);
$peer_fate = centreon::plugins::misc::trim($2);
}