From 5cb601200c09729cbbcf6d094edc5a4420272bd9 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 26 Jul 2025 19:40:05 +0200 Subject: [PATCH] Use non-interactive shell in utils.sh:getFTLConfigValue to avoid colored output Signed-off-by: DL6ER --- advanced/Scripts/utils.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/advanced/Scripts/utils.sh b/advanced/Scripts/utils.sh index f5dc89fb..d000a6db 100755 --- a/advanced/Scripts/utils.sh +++ b/advanced/Scripts/utils.sh @@ -73,7 +73,9 @@ getFTLPID() { # Example getFTLConfigValue dns.piholePTR ####################### getFTLConfigValue(){ - pihole-FTL --config -q "${1}" + # Pipe to cat to avoid pihole-FTL assuming this is an interactive command + # returning colored output. + pihole-FTL --config -q "${1}" | cat } #######################