}
}
- event_loop:
+ run_event_loop:
// Process events until all services have terminated.
while (services->count_active_services() != 0) {
shutdown_type_t shutdown_type = services->get_shutdown_type();
if (shutdown_type == shutdown_type_t::REMAIN) {
- goto event_loop;
+ goto run_event_loop;
}
if (am_pid_one) {
confirm_restart_boot();
try {
services->start_service("boot");
- goto event_loop; // yes, the "evil" goto
+ goto run_event_loop; // yes, the "evil" goto
}
catch (...) {
// Now what do we do? try to reboot, but wait for user ack to avoid boot loop.