mirror of
https://github.com/systemd/systemd.git
synced 2026-08-08 00:51:19 +00:00
timesyncd: fix error path return value
https://bugs.freedesktop.org/show_bug.cgi?id=78752
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user