Add a pattern for unsupported logging of self-test
This commit is contained in:
parent
48d61ec8a7
commit
3fe298f961
|
@ -220,7 +220,7 @@ https://www.smartmontools.org/wiki/FAQ#SmartmontoolsDatabase"
|
|||
DSELFTEST_MSG="&red No self-tests recorded:"
|
||||
DCODE="8"
|
||||
## If the device doesn't support test logging
|
||||
elif smartctl -d "${TYPE}" -l selftest "${DISK}" | grep -qEi -- "does not support.*logging"; then
|
||||
elif smartctl -d "${TYPE}" -l selftest "${DISK}" | grep -qEi -- "(does not support.*logging|Log not supported)"; then
|
||||
DSELFTEST_MSG="&clear Test logging are not supported:"
|
||||
else
|
||||
DSELFTEST_MSG=""
|
||||
|
|
Loading…
Reference in New Issue