From 19b13e0efd3c52df2a1dcaf7204342ffe6cdaec5 Mon Sep 17 00:00:00 2001 From: Gavriel Fleischer Date: Mon, 7 Jan 2019 22:14:04 +0200 Subject: disconnect after hex command sent --- tools/hex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hex.sh b/tools/hex.sh index 78cd8fa38..b9ea36de2 100755 --- a/tools/hex.sh +++ b/tools/hex.sh @@ -27,7 +27,7 @@ send_hex_udp () { } send_hex_tcp () { - echo "$hex" | xxd -r -p | nc "$host" "$port" + echo "$hex" | xxd -r -p | nc -N "$host" "$port" } send_text_udp () { -- cgit v1.2.3