diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-06-30 12:29:30 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-06-30 12:29:30 +0200 |
commit | 32163a706e469763c72646f696a313b917e45420 (patch) | |
tree | ef4fea49f096159e69a9d037505407007fb2fe0d /hosts-state | |
parent | 16498c974e3666003c6bb0dbf01669acd01f2412 (diff) | |
download | bcfg2-tools-32163a706e469763c72646f696a313b917e45420.tar.gz bcfg2-tools-32163a706e469763c72646f696a313b917e45420.tar.bz2 bcfg2-tools-32163a706e469763c72646f696a313b917e45420.zip |
host-state: fix typo
Diffstat (limited to 'hosts-state')
-rwxr-xr-x | hosts-state | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts-state b/hosts-state index e410654..80f0a64 100755 --- a/hosts-state +++ b/hosts-state @@ -60,7 +60,7 @@ while(<$reports>) { print("$short_host\tBcfg2\t$status\t$msg | $perf\n\x17"); } -if ($summary->{bad} > 0 or $summary->stale > 0) { +if ($summary->{bad} > 0 or $summary->{stale} > 0) { $summary->{msg} = 'CRITICAL'; $summary->{status} = 2; } |