mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-11 15:32:59 +00:00
REL-0.9 Fix negative check
This commit is contained in:
parent
67d3f67d6c
commit
f8606aaa25
@ -90,6 +90,7 @@ wait_for() {
|
|||||||
# Sleep with debug output
|
# Sleep with debug output
|
||||||
if [ "${#}" = "2" ]; then
|
if [ "${#}" = "2" ]; then
|
||||||
if [ "${2}" = "1" ]; then
|
if [ "${2}" = "1" ]; then
|
||||||
|
printf "wait "
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
for i in $(seq 1 "${_time}"); do
|
for i in $(seq 1 "${_time}"); do
|
||||||
sleep 1
|
sleep 1
|
||||||
@ -361,7 +362,6 @@ debilbox_test() {
|
|||||||
else
|
else
|
||||||
echo "[OK]: ${_cnt} / ${_oks} (All 'dvlbox-ok' found)"
|
echo "[OK]: ${_cnt} / ${_oks} (All 'dvlbox-ok' found)"
|
||||||
fi
|
fi
|
||||||
echo "[OK]: ${_cnt} / ${_oks}"
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo "Count [ERR]'s on curl-ed url"
|
echo "Count [ERR]'s on curl-ed url"
|
||||||
@ -372,7 +372,6 @@ debilbox_test() {
|
|||||||
else
|
else
|
||||||
echo "[OK]: ${_cnt} / 0 (No 'dvlbox-err' found)"
|
echo "[OK]: ${_cnt} / 0 (No 'dvlbox-err' found)"
|
||||||
fi
|
fi
|
||||||
echo "[ERR]: ${_cnt} / 0"
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user