mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-30 17:14:16 +02:00
Do not call pihole-FTL --config interactively (#6368)
This commit is contained in:
commit
0df3b41ca0
@ -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
|
||||
}
|
||||
|
||||
#######################
|
||||
|
Loading…
x
Reference in New Issue
Block a user