From f667c3df92a7b0f2c77898e77f43b4e5bb324ac7 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 12 Mar 2017 11:02:20 +0100 Subject: [PATCH] Minor change to FTLtest.sh --- FTLtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FTLtest.sh b/FTLtest.sh index 423160be..0a3efa43 100755 --- a/FTLtest.sh +++ b/FTLtest.sh @@ -13,7 +13,7 @@ function GetFTLData { exec 3<>/dev/tcp/localhost/"$(cat /var/run/pihole-FTL.port)" # Test if connection is open - if { >&3; } 2> /dev/null; then + if { true >&3; } 2> /dev/null; then # Send command to FTL echo -e ">$1" >&3 echo -e ">quit" >&3