NTP: fix listening interfaces

This commit is contained in:
bergware
2023-06-19 09:32:34 +02:00
parent bb3c0c0b9a
commit 1070b46d3e
+1 -1
View File
@@ -92,7 +92,7 @@ ntpd_reload() {
ntpd_update() {
[[ $(pgrep -cf $NTPD) -eq 0 ]] && exit 1 # not running
if check && [[ -z "$(this 'interface listen')" || "$(this 'interface listen')" == "$bind" ]]; then
if check && [[ "$(this 'interface listen')" == "$bind" ]]; then
# no action required
exit 1
else