From 2cc4c245f51339cfaf3c5497b15550b6288b4b19 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 9 Aug 2011 16:57:08 +0200 Subject: [PATCH] RAID.tst: report OK even if there is only 1 good Apple-HW-RAID volume ... --- client/lib/tests/RAID.tst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/tests/RAID.tst b/client/lib/tests/RAID.tst index e67c5ad..53c57b2 100644 --- a/client/lib/tests/RAID.tst +++ b/client/lib/tests/RAID.tst @@ -34,7 +34,7 @@ if [ `uname` = "Darwin" ]; then || status="$v:$s" [ "$s" = "Good" ] && good=$good+1 || bad=bad+1 done <"$tmp" - if [ $bad -eq 0 -a $good -gt 1 ]; then + if [ $bad -eq 0 -a $good -ge 1 ]; then STATUS=0 TEXT="OK - HW-RAID is good: $status" elif [ $bad -gt 0 ]; then -- 2.39.2