Remove space

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2023-08-02 21:44:01 +02:00
parent 4a69af0dd2
commit b67b0fb2e0

View File

@@ -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