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

Commit 02360a55 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Clean up comments/logs"

parents a3ab0a41 f887e745
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -113,10 +113,10 @@ static void Copy(const char* src, const char* dst) {
        LOG(INFO) << "hard linking " << src << " to " << dst << " succeeded";
        return;
    }
    PLOG(FATAL) << "hard linking " << src << " to " << dst << " failed, falling back to copy.";
    PLOG(FATAL) << "hard linking " << src << " to " << dst << " failed";
}

// Move e2fsck before switching root, so that it is available at the same path
// Move snapuserd before switching root, so that it is available at the same path
// after switching root.
void PrepareSwitchRoot() {
    constexpr const char* src = "/system/bin/snapuserd";