From 83b9617eca81d2a57a9ccfeb6b53bf947a751407 Mon Sep 17 00:00:00 2001 From: David West Date: Thu, 9 Mar 2023 16:35:21 +0100 Subject: [PATCH] Fix Issue 7 Removed "-G 3" as per https://github.com/jamf/Jamf-Environment-Test/issues/7 suggested. --- Jamf Environment Test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jamf Environment Test.sh b/Jamf Environment Test.sh index 7a1413a..87b102c 100644 --- a/Jamf Environment Test.sh +++ b/Jamf Environment Test.sh @@ -755,7 +755,7 @@ function CalculateHostInfoTables () { STATUS=$(/usr/bin/nc -z -G 3 ${HOSTNAME} ${PORT} 2>&1 | /usr/bin/awk '{print $7}') else # UDP goes direct... not proxied. - STATUS=$(/usr/bin/nc -u -z -G 3 ${HOSTNAME} ${PORT} 2>&1 | /usr/bin/awk '{print $7}') + STATUS=$(/usr/bin/nc -u -z ${HOSTNAME} ${PORT} 2>&1 | /usr/bin/awk '{print $7}') fi