summaryrefslogtreecommitdiff
path: root/src/timedate
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-03 15:37:04 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-03 15:37:04 +0200
commitf6c13ce47ebee287f8b6a965ca5ca022a9f26e2c (patch)
treea1f3752367ee6fdbe591029d123070fdce5be946 /src/timedate
parentf4bad2bd2abe8ae260a99a5336145d11efe79892 (diff)
timedate: uniq'ify ntp units list
Diffstat (limited to 'src/timedate')
-rw-r--r--src/timedate/timedated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index 5387699bf3..237eb24894 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -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) {