Remove whitespaces from RAID status text
authorAlexander Barton <alex@barton.de>
Mon, 14 Dec 2009 13:33:32 +0000 (14:33 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 14 Dec 2009 13:33:32 +0000 (14:33 +0100)
client/lib/tests/RAID.tst

index 9c6b59d..7a8c586 100644 (file)
@@ -9,7 +9,7 @@ if [ `uname` = "Darwin" ]; then
        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"