From 32163a706e469763c72646f696a313b917e45420 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 30 Jun 2013 12:29:30 +0200 Subject: host-state: fix typo --- hosts-state | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-1-g7c22