timedate: uniq'ify ntp units list
This commit is contained in:
@@ -124,7 +124,7 @@ CHANGES WITH 186:
|
||||
additional capabilities to the container.
|
||||
|
||||
* timedated will now read known NTP implementation unit names
|
||||
from /usr/share/systemd/ntp-units,
|
||||
from /usr/share/systemd/ntp-units.d/*.list,
|
||||
systemd-timedated-ntp.target has been removed.
|
||||
|
||||
* journalctl gained a new switch "-b" that lists log data of
|
||||
|
||||
@@ -354,7 +354,7 @@ static char** get_ntp_services(void) {
|
||||
|
||||
strv_free(files);
|
||||
|
||||
return r;
|
||||
return strv_uniq(r);
|
||||
}
|
||||
|
||||
static int read_ntp(DBusConnection *bus) {
|
||||
|
||||
Reference in New Issue
Block a user