Add info if the type/device isn't supported

This commit is contained in:
Jeremy Gardais 2020-02-20 15:37:50 +01:00
parent b589528e03
commit 3258881a0f
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ while IFS= read -r LINE; do
[ "${debug}" -eq "0" ] && printf "${c_magentab}%-6b${c_reset}\n" "DEBUG: SMART is not fully supported."
DRES=$(printf '%s' "${SMART_SUPPORT_MSG}")
DCODE="2"
TYPE="unsupported"
else
[ "${debug}" -eq "0" ] && printf "${c_magentab}%-6b${c_reset}\n" "DEBUG: SMART seems fully supported, proceed normally."
### Get SMART Health Status and return code