fix: fix requirements check

This commit is contained in:
Robert Kaussow 2023-03-02 13:55:38 +01:00
parent 39a235a9e0
commit cf0c554f0f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -86,7 +86,7 @@ if [ -x "$(command -v bash)" ]; then
HAS_BASH=1
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"
exit 1
fi