From 0b7eda124b8c02d4bfcaaa3e7b9c8cfcfe74d73d Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 7 Jun 2024 13:12:58 +0200 Subject: [PATCH] fix output in status line --- check_smartstatus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_smartstatus b/check_smartstatus index 2e691f0..43b9d03 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 -- GitLab