chiark / gitweb /
timedate: uniq'ify ntp units list
[elogind.git] / src / timedate / timedated.c
index 5387699bf316b1d1830fe1f7989b281f40cb6df1..237eb248949675d5b167f2180642f0c163123ee1 100644 (file)
@@ -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) {