Bug 78752

Summary: incorrect return value in timesyncd.c:manager_new
Product: systemd Reporter: Christian Persch (GNOME) <chpe>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Christian Persch (GNOME) 2014-05-15 18:23:22 UTC
It looks to me like in one error return path the wrong value is returned in src/timesync/timesyncd.c:manager_new():

         r = sd_resolve_attach_event(m->resolve, m->event, 0);
         if (r < 0)
-                return 0;
+                return r;

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.