1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

timedate: uniq'ify ntp units list

This commit is contained in:
Lennart Poettering 2012-07-03 15:37:04 +02:00
parent f4bad2bd2a
commit f6c13ce47e
2 changed files with 2 additions and 2 deletions

2
NEWS
View File

@ -124,7 +124,7 @@ CHANGES WITH 186:
additional capabilities to the container. additional capabilities to the container.
* timedated will now read known NTP implementation unit names * 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. systemd-timedated-ntp.target has been removed.
* journalctl gained a new switch "-b" that lists log data of * journalctl gained a new switch "-b" that lists log data of

View File

@ -354,7 +354,7 @@ static char** get_ntp_services(void) {
strv_free(files); strv_free(files);
return r; return strv_uniq(r);
} }
static int read_ntp(DBusConnection *bus) { static int read_ntp(DBusConnection *bus) {