timesyncd: fix error path return value
https://bugs.freedesktop.org/show_bug.cgi?id=78752
This commit is contained in:
parent
e3ad07d21c
commit
59a9fce47b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue