summaryrefslogtreecommitdiff
path: root/src/timesync/timesyncd-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-13 21:07:07 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-13 21:07:07 +0200
commitc572db3ccf6678426c8c1c714b594973db84eebe (patch)
tree0d8da518fee9729efdab0041e7dd7b9ed5051adb /src/timesync/timesyncd-manager.c
parentb9c488f60050248b35640f28e4d00958702ba1c3 (diff)
timesyncd: don't trip up if networkd isn't running and can't tell us any NTP servers
Diffstat (limited to 'src/timesync/timesyncd-manager.c')
-rw-r--r--src/timesync/timesyncd-manager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c
index bb8fcca1df..d80c72ff5c 100644
--- a/src/timesync/timesyncd-manager.c
+++ b/src/timesync/timesyncd-manager.c
@@ -1111,9 +1111,7 @@ int manager_new(Manager **ret) {
if (r < 0)
return r;
- r = manager_network_read_link_servers(m);
- if (r < 0)
- return r;
+ manager_network_read_link_servers(m);
*ret = m;
m = NULL;