diff --git a/check_smartstatus b/check_smartstatus index 1fd2954824b80e679e71a27c7479f8950b678e10..ffaf43e6d2adf19c959795d76cdf1c190e536022 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