check_backuppc: Use UNKNOWN as default state

This commit is contained in:
Emmanuel Lacour 2024-10-07 11:19:22 +02:00 committed by Benjamin Renard
parent a97930fdca
commit 969b0ca1e3
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -56,7 +56,7 @@ my @hostsDesired;
my @hostsExcluded; my @hostsExcluded;
my $forceCheckOnDisabledHosts; my $forceCheckOnDisabledHosts;
my %Status; my %Status;
my $statusCode = 'OK'; my $statusCode = 'UNKNOWN';
my $ok_count = 0; my $ok_count = 0;
my $unknown_count = 0; my $unknown_count = 0;
my $warning_count = 0; my $warning_count = 0;