Inlcude port also in cli output

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2021-12-28 19:36:32 +01:00
parent f45248df80
commit 2b52f92647
No known key found for this signature in database
GPG key ID: 4CDA6F249DD2B485

3
pihole
View file

@ -350,7 +350,8 @@ statusFunc() {
# Configs are set
case "${1}" in
"web") echo "$port";;
*) echo -e " ${TICK} Pi-hole blocking is enabled";;
*) echo -e " ${TICK} Pi-hole blocking is enabled. FTL is listening on port ${port}"
;;
esac
else
# No configs were found