Skip to content

Commit c15cb33

Browse files
authored
Update run
1 parent 8f96e5d commit c15cb33

File tree

1 file changed

+1
-1
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-unifi-network-application-config

1 file changed

+1
-1
lines changed

root/etc/s6-overlay/s6-rc.d/init-unifi-network-application-config/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [[ ! -e /config/data/system.properties ]]; then
2323
if [[ -z "${MONGO_HOST}" ]]; then
2424
echo "*** No MONGO_HOST set, cannot configure database settings. ***"
2525
sleep infinity
26-
elif ! nc -w1 "${MONGO_HOST}" ${MONGO_PORT}; then
26+
elif ! nc -w1 "${MONGO_HOST}" ${MONGO_PORT} >/dev/null 2>&1; then
2727
echo "*** Defined MONGO_HOST is not reachable, cannot proceed. ***"
2828
sleep infinity
2929
else

0 commit comments

Comments
 (0)