mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +03:00
core: set a description on private bus connections
Let's make things easier to debug
This commit is contained in:
parent
201e419aea
commit
030fa56c6e
@ -653,6 +653,8 @@ static int bus_on_connection(sd_event_source *s, int fd, uint32_t revents, void
|
||||
return 0;
|
||||
}
|
||||
|
||||
(void) sd_bus_set_description(bus, "private-bus-connection");
|
||||
|
||||
r = sd_bus_set_fd(bus, nfd, nfd);
|
||||
if (r < 0) {
|
||||
log_warning_errno(r, "Failed to set fd on new connection bus: %m");
|
||||
|
Loading…
x
Reference in New Issue
Block a user