Update to comply with current development code

Signed-off-by: DL6ER <dl6er@dl6er.de>
pull/1572/head
DL6ER 7 years ago
parent 279e809aaf
commit c9d4995900
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -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…
Cancel
Save