if [ $? -eq 0 ]; then
# Apple Software-RAID detected
statusText=`grep "^Status:" "$tmp"`
- status=`echo "$statusText" | cut -d' ' -f2-`
+ status=`echo $statusText | cut -d' ' -f2-`
if [ "$status" != "Online" ]; then
STATUS=2
TEXT="ERROR - RAID is $status"