diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/manager.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index c56c1621b0..f934594480 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -729,10 +729,8 @@ static int manager_setup_kdbus(Manager *m) { m->running_as == SYSTEMD_SYSTEM ? "system" : "user", m->running_as == SYSTEMD_SYSTEM, &p); - if (m->kdbus_fd < 0) { - log_debug_errno(m->kdbus_fd, "Failed to set up kdbus: %m"); - return m->kdbus_fd; - } + if (m->kdbus_fd < 0) + return log_debug_errno(m->kdbus_fd, "Failed to set up kdbus: %m"); log_debug("Successfully set up kdbus on %s", p); #endif |