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

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

Merge "Fix for Cannot load etc/recovery.fstab when doing OTA upgrade"

parents f3e6cf0a cadee353
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -804,7 +804,7 @@ bool ReadDefaultFstab(Fstab* fstab) {

    std::string default_fstab_path;
    // Use different fstab paths for normal boot and recovery boot, respectively
    if (access("/system/bin/recovery", F_OK) == 0) {
    if ((access("/sbin/recovery", F_OK) == 0) || (access("/system/bin/recovery", F_OK) == 0)) {
        default_fstab_path = "/etc/recovery.fstab";
    } else {  // normal boot
        default_fstab_path = GetFstabPath();