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

Commit 7397fa56 authored by David Anderson's avatar David Anderson Committed by Gerrit Code Review
Browse files

Merge "Rectify Boottime property"

parents a09cace1 ac9f33ce
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -849,8 +849,10 @@ static int __mount(const std::string& source, const std::string& target, const F
    if ((ret == 0) && (mountflags & MS_RDONLY) != 0) {
        fs_mgr_set_blk_ro(source);
    }
    if (ret == 0) {
        android::base::SetProperty("ro.boottime.init.mount." + Basename(target),
                                   std::to_string(t.duration().count()));
    }
    errno = save_errno;
    return ret;
}