mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03:00
manager: fix handling of failure in initialization
We would warn and continue after failure in manager_startup, but there's no way we can continue. We must fail.
This commit is contained in:
parent
3a7928957b
commit
58f88d929f
@ -1830,8 +1830,10 @@ int main(int argc, char *argv[]) {
|
||||
before_startup = now(CLOCK_MONOTONIC);
|
||||
|
||||
r = manager_startup(m, arg_serialization, fds);
|
||||
if (r < 0)
|
||||
if (r < 0) {
|
||||
log_error_errno(r, "Failed to fully start up daemon: %m");
|
||||
goto finish;
|
||||
}
|
||||
|
||||
/* This will close all file descriptors that were opened, but
|
||||
* not claimed by any unit. */
|
||||
|
Loading…
Reference in New Issue
Block a user