timesync: actually disables built-in fallback NTP servers when an empty string is specified

Follow-up for 3745770ae4.
Fixes #40621.
This commit is contained in:
Yu Watanabe
2026-02-16 09:00:42 +09:00
parent b0ca2ef264
commit 1b1799e9ba

View File

@@ -86,6 +86,11 @@ int config_parse_servers(
if (isempty(rvalue)) {
manager_flush_server_names(m, ltype);
/* FallbackNTP= with an empty string disables the built-in fallback servers. */
if (ltype == SERVER_FALLBACK)
m->fallback_set = true;
return 0;
}