diff --git a/xymon/plugins/client/ext/smart b/xymon/plugins/client/ext/smart index 7a46e64..fd65cb4 100755 --- a/xymon/plugins/client/ext/smart +++ b/xymon/plugins/client/ext/smart @@ -15,9 +15,9 @@ do TYPE=$(echo "${LINE}" | cut -d" " -f3) DRES=$(/usr/sbin/smartctl -H -d "${TYPE}" -n standby "${DISK}") DCODE=$? - DSTBY=$(( $DCODE & 2 )) - DFAIL=$(( $DCODE & 8 )) - DWARN=$(( $DCODE & 32 )) + DSTBY=$(( DCODE & 2 )) + DFAIL=$(( DCODE & 8 )) + DWARN=$(( DCODE & 32 )) if test $DSTBY -ne 0 then