diff --git a/check_smartstatus b/check_smartstatus index 2e691f0e5b4e66e3305003e5909911b81c641c98..43b9d03e94a2888231c3d97d68a206897db16784 100755 --- a/check_smartstatus +++ b/check_smartstatus @@ -107,7 +107,7 @@ function checkDrive(){ sLabel="^SMART.*Health" sOK="(ok|passed)" test -n "$sOut" && sOut="$sOut ; " - sOut="${device}:" + sOut="${sOut}${device}:" ls -ld $device >/dev/null 2>&1