From: Yu Watanabe Date: Sun, 19 May 2024 05:21:28 +0000 (+0900) Subject: core: invoke_main_loop() does not return MANAGER_RELOAD X-Git-Tag: v257-rc1~1194 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c7eea0724e3cd401eacbd75c25755feabeb242f;p=thirdparty%2Fsystemd.git core: invoke_main_loop() does not return MANAGER_RELOAD Follow-up for 5409c6fcc55e6700360546c42edd4a021ee5014e. --- diff --git a/src/core/main.c b/src/core/main.c index 4b8a315d860..e49252b3107 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -3295,8 +3295,7 @@ int main(int argc, char *argv[]) { &switch_root_dir, &switch_root_init, &error_message); - assert(r < 0 || IN_SET(r, MANAGER_EXIT, /* MANAGER_OK is not expected here. */ - MANAGER_RELOAD, + assert(r < 0 || IN_SET(r, MANAGER_EXIT, /* MANAGER_OK and MANAGER_RELOAD are not expected here. */ MANAGER_REEXECUTE, MANAGER_REBOOT, MANAGER_SOFT_REBOOT,