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

Commit 8f9a356b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Clean up comments/logs" am: 02360a55

parents f57bff7f 02360a55
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";