We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a33b16 + ef92efb commit 81b1373Copy full SHA for 81b1373
wait-for-it.sh
@@ -36,7 +36,7 @@ wait_for()
36
nc -z $WAITFORIT_HOST $WAITFORIT_PORT
37
WAITFORIT_result=$?
38
else
39
- (echo > /dev/tcp/$WAITFORIT_HOST/$WAITFORIT_PORT) >/dev/null 2>&1
+ (echo -n > /dev/tcp/$WAITFORIT_HOST/$WAITFORIT_PORT) >/dev/null 2>&1
40
41
fi
42
if [[ $WAITFORIT_result -eq 0 ]]; then
0 commit comments