diff --git a/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm b/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm index 4b40bc08..54c61bd3 100644 --- a/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm +++ b/plugins-scripts/Classes/CheckPoint/Firewall1/Component/HaSubsystem.pm @@ -16,6 +16,7 @@ sub init { sub check { my $self = shift; + chomp($self->{haState}); $self->add_info('checking ha'); $self->add_info(sprintf 'ha %sstarted, role is %s, status is %s', $self->{haStarted} eq 'yes' ? '' : 'not ',