Browse Source

mute error when not ready

#146
rootzoll 6 years ago
parent
commit
16780f28ba
  1. 2
      home.admin/00infoBlitz.sh

2
home.admin/00infoBlitz.sh

@ -133,7 +133,7 @@ if [ ${#onionAddress} -gt 0 ]; then
else
# IP address
public_addr="${public_ip}:${public_port}"
public_check=$(timeout 2s nc -z ${public_ip} ${public_port}; echo $?)
public_check=$(timeout 2s nc -z ${public_ip} ${public_port} 2>/dev/null; echo $?)
if [ $public_check = "0" ]; then
public="Yes"
public_color="${color_green}"

Loading…
Cancel
Save