1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

sd-bus: Improve (sd-buscntr) error logging

We're only doing one thing in the child process which is connecting
to the D-Bus socket so let's mention that in the error message when
something goes wrong instead of having a generic error message.
This commit is contained in:
Daan De Meyer 2021-08-19 15:09:44 +01:00
parent 405a028e65
commit e4cdadf3bd

View File

@ -94,7 +94,7 @@ int bus_container_connect_socket(sd_bus *b) {
return 1;
if (error_buf > 0)
return log_debug_errno(error_buf, "Got error from (sd-buscntr): %m");
return log_debug_errno(error_buf, "(sd-buscntr) failed to connect to D-Bus socket: %m");
}
if (nonzero_exit_status)