mirror of https://github.com/pi-hole/pi-hole
If stdout was not a terminal (the `-t 1` check), `restartDNS` would return code 1 in the success case. This caused the API to fail whenever it tried to restart the DNS server. Signed-off-by: Mcat12 <newtoncat12@yahoo.com>pull/2501/head
parent
51218bd1ad
commit
3f59b51be1
Loading…
Reference in new issue