Skip to content
Snippets Groups Projects

remove pipe in status line

Merged Hahn Axel (hahn) requested to merge 5419-update-check-packages2install into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -36,6 +36,7 @@
@@ -36,6 +36,7 @@
# 2021-01-22 v1.1 <axel.hahn@iml.unibe.ch> add status [no access]
# 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-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
# 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(){
@@ -73,7 +74,7 @@ function checkDrive(){
sLabel="^SMART.*Health"
sLabel="^SMART.*Health"
sOK="(ok|passed)"
sOK="(ok|passed)"
sOut="$sOut | ${device}:"
sOut="$sOut ; ${device}:"
ls -ld $device >/dev/null 2>&1
ls -ld $device >/dev/null 2>&1
Loading