fix(storage): qualify SMART status and report explanations

This commit is contained in:
martino
2026-09-21 21:54:04 +02:00
parent 5dffb5cb88
commit 402278ecfd
6 changed files with 171 additions and 6 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ while true; do
else
HEALTH=$(echo "$OUTPUT" | grep -i "critical_warning" | awk '{print $NF}')
if [[ "$HEALTH" == "0" ]]; then
msg_ok "$(translate 'NVMe health status: PASSED')"
msg_ok "$(translate 'NVMe critical_warning is 0 (no critical warnings reported).')"
else
msg_warn "$(translate 'NVMe health status: WARNING (critical_warning =') $HEALTH)"
fi