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

Commit 3b210bc6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "init: Fix ramdump when enabling shutdown animations."

parents 78bb0a85 07533c52
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -680,8 +680,8 @@ static void DoReboot(unsigned int cmd, const std::string& reason, const std::str
                           << "': " << result.error();
            }
            s->SetShutdownCritical();
        } else if (do_shutdown_animation) {
            continue;
        } else if (do_shutdown_animation && s->classnames().count("animation") > 0) {
            // Need these for shutdown animations.
        } else if (s->IsShutdownCritical()) {
            // Start shutdown critical service if not started.
            if (auto result = s->Start(); !result.ok()) {