mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-13 13:17:43 +03:00
journald: add logging for one error we lacked logging for
This commit is contained in:
parent
d93dda3afe
commit
2435269171
@ -62,8 +62,10 @@ int main(int argc, char *argv[]) {
|
|||||||
usec_t t = USEC_INFINITY, n;
|
usec_t t = USEC_INFINITY, n;
|
||||||
|
|
||||||
r = sd_event_get_state(server.event);
|
r = sd_event_get_state(server.event);
|
||||||
if (r < 0)
|
if (r < 0) {
|
||||||
|
log_error_errno(r, "Failed to get event loop state: %m");
|
||||||
goto finish;
|
goto finish;
|
||||||
|
}
|
||||||
if (r == SD_EVENT_FINISHED)
|
if (r == SD_EVENT_FINISHED)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user