Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24827fe3 authored by Colin Cross's avatar Colin Cross Committed by Android Git Automerger
Browse files

am ebd4613b: init: Fix init spinning once init.rc is complete

parents d0eacb8a ebd4613b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -492,6 +492,7 @@ void execute_one_command(void)

    if (!cur_action || !cur_command || is_last_command(cur_action, cur_command)) {
        cur_action = action_remove_queue_head();
        cur_command = NULL;
        if (!cur_action)
            return;
        INFO("processing action %p (%s)\n", cur_action, cur_action->name);
@@ -762,7 +763,7 @@ int main(int argc, char **argv)
                timeout = 0;
        }

        if (!action_queue_empty() || cur_command)
        if (!action_queue_empty() || cur_action)
            timeout = 0;

#if BOOTCHART