From cd515d3034bbee93fe736242fa6e957df0ebbff3 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Fri, 8 Jul 2022 10:58:39 +0200
Subject: [PATCH] remove pipe in status line

---
 check_smartstatus | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/check_smartstatus b/check_smartstatus
index 1fd2954..ffaf43e 100755
--- a/check_smartstatus
+++ b/check_smartstatus
@@ -36,6 +36,7 @@
 # 2021-01-22  v1.1  <axel.hahn@iml.unibe.ch> add status [no access]
 # 2021-04-07  v1.2  <axel.hahn@iml.unibe.ch> update message if sudo smartctl -H fails
 # 2021-10-28  v1.3  <axel.hahn@iml.unibe.ch> detect -d param for smartctl
+# 2022-07-08  v1.4  <axel.hahn@iml.unibe.ch> remove pipe in status line
 # ======================================================================
 
 
@@ -73,7 +74,7 @@ function checkDrive(){
 
   sLabel="^SMART.*Health"
   sOK="(ok|passed)"
-  sOut="$sOut | ${device}:"
+  sOut="$sOut ; ${device}:"
 
   ls -ld $device >/dev/null 2>&1
 
-- 
GitLab