Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New tag 2.15.63
[fs/lustre-release.git]
/
lustre
/
tests
/
ha.sh
diff --git
a/lustre/tests/ha.sh
b/lustre/tests/ha.sh
index
0cfd595
..
987387b
100755
(executable)
--- a/
lustre/tests/ha.sh
+++ b/
lustre/tests/ha.sh
@@
-840,7
+840,7
@@
ha_lfsck_repaired()
n=$(cat $ha_lfsck_log | awk '/repaired/ {print $3}' |\
awk '{sum += $1} END { print sum }')
-
[ $n -eq 0]
||
+
(( n == 0 ))
||
{ ha_info "Total repaired: $n";
ha_touch fail; return 1; }
return 0