mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
core: make use of manager_loop()'s return value
The objective is returned in the return value, let's make use of that, instead of reaching into the object.
This commit is contained in:
parent
7a35fa24ff
commit
3ca4d0b3eb
@ -1673,7 +1673,7 @@ static int invoke_main_loop(
|
||||
return log_emergency_errno(r, "Failed to run main loop: %m");
|
||||
}
|
||||
|
||||
switch (m->objective) {
|
||||
switch ((ManagerObjective) r) {
|
||||
|
||||
case MANAGER_RELOAD: {
|
||||
LogTarget saved_log_target;
|
||||
|
Loading…
Reference in New Issue
Block a user