From 7b15b188829c5a78e046586d3fa99ab7b8752320 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 23 Nov 2014 00:38:24 +0000 Subject: [PATCH] Updated smart-health-check --- bin/smart-health-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/smart-health-check b/bin/smart-health-check index 0557b05..638da83 100755 --- a/bin/smart-health-check +++ b/bin/smart-health-check @@ -31,7 +31,7 @@ check-attributes() { local raw_status="$(smartctl -A $1)" local report="$(echo "$raw_status" | grep "^ID# ")" - for id in 1 5 10 196 198; do + for id in 1 5 10 196 197 198; do attr="$(echo "$raw_status" | grep "^\s*${id}\s")" if [ -n "$(trim "$attr")" ] && [[ "$(trim "$attr")" != *" 0" ]]; then fail=1