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.
1 parent 8f96e5d commit c15cb33Copy full SHA for c15cb33
root/etc/s6-overlay/s6-rc.d/init-unifi-network-application-config/run
@@ -23,7 +23,7 @@ if [[ ! -e /config/data/system.properties ]]; then
23
if [[ -z "${MONGO_HOST}" ]]; then
24
echo "*** No MONGO_HOST set, cannot configure database settings. ***"
25
sleep infinity
26
- elif ! nc -w1 "${MONGO_HOST}" ${MONGO_PORT}; then
+ elif ! nc -w1 "${MONGO_HOST}" ${MONGO_PORT} >/dev/null 2>&1; then
27
echo "*** Defined MONGO_HOST is not reachable, cannot proceed. ***"
28
29
else
0 commit comments