projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6ae132b
)
report failures from smart log
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 21 Apr 2019 07:19:02 +0000
(09:19 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 21 Apr 2019 07:19:02 +0000
(09:19 +0200)
smart-megaraid.sh
patch
|
blob
|
history
diff --git
a/smart-megaraid.sh
b/smart-megaraid.sh
index
76d7ed0
..
35db0c9
100755
(executable)
--- a/
smart-megaraid.sh
+++ b/
smart-megaraid.sh
@@
-4,7
+4,7
@@
# smart-megaraid.sh '^# 1' # default without args
# SMART="-t long" smart-megaraid.sh # execute smart command
-pattern='(^# [1-2]|test remaining|Hours|Error|Serial|Model|Firmware|Load|Reallocated|Pending)'
+pattern='(^# [1-2]|test remaining|Hours|Error|Serial|Model|Firmware|Load|Reallocated|Pending
|failure
)'
test ! -z "$1" && pattern=$*
did_megaraid=0