commit ac1db640d12fb50cc98c6bf492446d98c1ac7a78
parent fc2859ba14eaaa4ec6f3edfa3507ce0a2a5d72f3
Author: parazyd <parazyd@dyne.org>
Date: Sun, 8 Oct 2017 17:14:04 +0200
use busybox as nc implementation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/zlibs/helpers b/src/zlibs/helpers
@@ -264,7 +264,7 @@ is_online() {
host)
func "trying to connect ${_host} port ${_port}"
#busybox nc -w 16 -z ${_host} ${_port} > /dev/null
- nc -w 16 -z ${_host} ${_port} > /dev/null
+ busybox nc -w 16 -z ${_host} ${_port} > /dev/null
{ test $? = 0 } || {
error "Host unreachable: $_host"
act "Network connection is checked with 16s timeout"