git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix zpios-sanity.sh return code
[zfs.git]
/
scripts
/
zpios-sanity.sh
diff --git
a/scripts/zpios-sanity.sh
b/scripts/zpios-sanity.sh
index
194ae82
..
c8e9bb5
100755
(executable)
--- a/
scripts/zpios-sanity.sh
+++ b/
scripts/zpios-sanity.sh
@@
-13,6
+13,7
@@
fi
PROG=zpios-sanity.sh
HEADER=
+FAILS=0
usage() {
cat << EOF
@@
-74,6
+75,8
@@
zpios_test() {
${ZPIOS_SH} -f -c ${CONFIG} -t ${TEST} &>${LOG}
if [ $? -ne 0 ]; then
+ FAILS=1
+
if [ ${VERBOSE} ]; then
printf "FAIL: %-13s\n" ${CONFIG}
cat ${LOG}
@@
-155,4
+158,4
@@
if [ ${DANGEROUS} ]; then
done
fi
-exit
0
+exit
$FAILS