Update to comply with current development code
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
279e809aaf
commit
c9d4995900
|
@ -234,8 +234,8 @@ RestartDNS() {
|
||||||
output=$( { service dnsmasq restart; } 2>&1 )
|
output=$( { service dnsmasq restart; } 2>&1 )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$?" == 0 ]]; then
|
if [[ -z "${output}" ]]; then
|
||||||
echo -e "${OVER} ${TICK} ${str}"
|
[[ -t 1 ]] && echo -e "${OVER} ${TICK} ${str}"
|
||||||
else
|
else
|
||||||
[[ ! -t 1 ]] && OVER=""
|
[[ ! -t 1 ]] && OVER=""
|
||||||
echo -e "${OVER} ${CROSS} ${output}"
|
echo -e "${OVER} ${CROSS} ${output}"
|
||||||
|
|
Loading…
Reference in New Issue