From: Alexander Barton Date: Mon, 14 Dec 2009 13:33:32 +0000 (+0100) Subject: Remove whitespaces from RAID status text X-Git-Tag: rel-2~29 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=nagcollect.git;a=commitdiff_plain;h=0acef6d71186402e2d5971ab0abea083ce640a96 Remove whitespaces from RAID status text --- diff --git a/client/lib/tests/RAID.tst b/client/lib/tests/RAID.tst index 9c6b59d..7a8c586 100644 --- a/client/lib/tests/RAID.tst +++ b/client/lib/tests/RAID.tst @@ -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"