From 14012ca9b078e9331963a6f751921295d7409214 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Wed, 1 Apr 2020 07:24:06 +0200 Subject: [PATCH] bkctld-check: fix typos --- lib/bkctld-check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bkctld-check b/lib/bkctld-check index 22e9d53..219c128 100755 --- a/lib/bkctld-check +++ b/lib/bkctld-check @@ -65,11 +65,11 @@ done [ "${return}" -ge 0 ] && header="OK" [ "${return}" -ge 1 ] && header="WARNING" [ "${return}" -ge 2 ] && header="CRITICAL" -[ "${return}" -ge 3 ] && header="UNKNOW" +[ "${return}" -ge 3 ] && header="UNKNOWN" printf "%s - %s UNK / %s CRIT / %s WARN / %s OK\n\n" "${header}" "${nb_unkn}" "${nb_crit}" "${nb_warn}" "${nb_ok}" -printf "${output}" | grep -E "^UNKNOW" +printf "${output}" | grep -E "^UNKNOWN" printf "${output}" | grep -E "^CRITICAL" printf "${output}" | grep -E "^WARNING" printf "${output}" | grep -E "^OK"