mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Update to comply with current development code
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
279e809aaf
commit
c9d4995900
1 changed files with 2 additions and 2 deletions
|
@ -234,8 +234,8 @@ RestartDNS() {
|
|||
output=$( { service dnsmasq restart; } 2>&1 )
|
||||
fi
|
||||
|
||||
if [[ "$?" == 0 ]]; then
|
||||
echo -e "${OVER} ${TICK} ${str}"
|
||||
if [[ -z "${output}" ]]; then
|
||||
[[ -t 1 ]] && echo -e "${OVER} ${TICK} ${str}"
|
||||
else
|
||||
[[ ! -t 1 ]] && OVER=""
|
||||
echo -e "${OVER} ${CROSS} ${output}"
|
||||
|
|
Loading…
Reference in a new issue