RAID.tst: report OK even if there is only 1 good Apple-HW-RAID volume ...
authorAlexander Barton <alex@barton.de>
Tue, 9 Aug 2011 14:57:08 +0000 (16:57 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 9 Aug 2011 14:57:08 +0000 (16:57 +0200)
client/lib/tests/RAID.tst

index e67c5ad..53c57b2 100644 (file)
@@ -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