From b67b0fb2e0db69e53db1773b8b2115baa9d4e0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Wed, 2 Aug 2023 21:44:01 +0200 Subject: [PATCH] Remove space MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- padd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/padd.sh b/padd.sh index 58a2d4e..fcdecc9 100755 --- a/padd.sh +++ b/padd.sh @@ -105,7 +105,7 @@ ConstructAPI() { if [ -z "${URL}" ]; then URL=127.0.0.1 # when no $URL is set we assume PADD is running locally and we can get the port value from FTL directly - PORT="$(pihole-FTL --config webserver.port)" + PORT="$(pihole-FTL --config webserver.port)" PORT="${PORT%%,*}" fi if [ -z "${PORT}" ]; then