summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/timesync/timesyncd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c
index 13cd3b1ed3..d26e8cbd6b 100644
--- a/src/timesync/timesyncd.c
+++ b/src/timesync/timesyncd.c
@@ -981,7 +981,7 @@ static int manager_new(Manager **ret) {
r = sd_resolve_attach_event(m->resolve, m->event, 0);
if (r < 0)
- return 0;
+ return r;
r = manager_clock_watch_setup(m);
if (r < 0)