From 9c6f4c93c692903497a45d077e99278f4a44a3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= Date: Mon, 17 Feb 2025 20:08:02 +0100 Subject: [PATCH] [check] Use nc -u instead of nc --udp nc in OpenMandriva supports both, nc in Ubuntu supports only -u --- bin/check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/check b/bin/check index 8bcb7f2..646491f 100755 --- a/bin/check +++ b/bin/check @@ -61,7 +61,7 @@ if [ -n "${PUBLICPORTS}" ]; then for PORT in ${PUBLICPORTS}; do TRIES=5 if echo $PORT |grep -q '/udp$'; then - NC_OPTS="--udp" + NC_OPTS="-u" PORT="$(echo $PORT |sed -e 's,/udp$,,')" else NC_OPTS=""