mirror of
https://github.com/systemd/systemd.git
synced 2024-11-04 13:51:24 +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;
|
||||
|
||||
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;
|
||||
}
|
||||
if (r == SD_EVENT_FINISHED)
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user