From 16780f28ba8e5a896f94ad8dac6da01e711285c8 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Tue, 16 Oct 2018 01:27:28 +0200 Subject: [PATCH] mute error when not ready --- home.admin/00infoBlitz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index be4cbca..6735b82 100755 --- a/home.admin/00infoBlitz.sh +++ b/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}"