diff options
author | Gavriel Fleischer <flocsy@gmail.com> | 2019-01-07 22:14:04 +0200 |
---|---|---|
committer | Gavriel Fleischer <flocsy@gmail.com> | 2019-01-07 22:14:04 +0200 |
commit | 19b13e0efd3c52df2a1dcaf7204342ffe6cdaec5 (patch) | |
tree | 2ddea236ea0365df314210cc9988103116e6c162 | |
parent | 96878a4baa6706e1903cde05e23cd21bc31348f4 (diff) | |
download | trackermap-server-19b13e0efd3c52df2a1dcaf7204342ffe6cdaec5.tar.gz trackermap-server-19b13e0efd3c52df2a1dcaf7204342ffe6cdaec5.tar.bz2 trackermap-server-19b13e0efd3c52df2a1dcaf7204342ffe6cdaec5.zip |
disconnect after hex command sent
-rwxr-xr-x | tools/hex.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { |