REL-0.9 Fix negative check

This commit is contained in:
cytopia 2017-05-11 10:25:02 +02:00
parent 67d3f67d6c
commit f8606aaa25
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -90,6 +90,7 @@ wait_for() {
# Sleep with debug output
if [ "${#}" = "2" ]; then
if [ "${2}" = "1" ]; then
printf "wait "
# shellcheck disable=SC2034
for i in $(seq 1 "${_time}"); do
sleep 1
@ -361,7 +362,6 @@ debilbox_test() {
else
echo "[OK]: ${_cnt} / ${_oks} (All 'dvlbox-ok' found)"
fi
echo "[OK]: ${_cnt} / ${_oks}"
echo
echo "Count [ERR]'s on curl-ed url"
@ -372,7 +372,6 @@ debilbox_test() {
else
echo "[OK]: ${_cnt} / 0 (No 'dvlbox-err' found)"
fi
echo "[ERR]: ${_cnt} / 0"
echo