mirror of
https://github.com/thegeeklab/wait-for.git
synced 2024-11-17 02:00:42 +00:00
fix: fix requirements check
This commit is contained in:
parent
39a235a9e0
commit
cf0c554f0f
2
wait-for
2
wait-for
@ -86,7 +86,7 @@ if [ -x "$(command -v bash)" ]; then
|
|||||||
HAS_BASH=1
|
HAS_BASH=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$HAS_NC" != 1 ] || [ "$HAS_BASH" != 1 ]; then
|
if [ "$HAS_NC" != 1 ] && [ "$HAS_BASH" != 1 ]; then
|
||||||
echoerr "error: netcat or bash is required for wait-for to run"
|
echoerr "error: netcat or bash is required for wait-for to run"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user