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

Commit fc85a7a8 authored by JP Abgrall's avatar JP Abgrall Committed by Gerrit Code Review
Browse files

Merge "libcutils: fix rw FS remount check issue"

parents bf0f2590 88f7683d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ static int remount_ro_done(void)
        mount_dir[255] = 0;
        mount_type[255] = 0;
        mount_opts[255] = 0;
        if ((match == 6) && !strncmp(mount_dev, "/dev/block", 10) && strstr(mount_opts, "rw")) {
        if ((match == 6) && !strncmp(mount_dev, "/dev/block", 10) && strstr(mount_opts, "rw,")) {
            found_rw_fs = 1;
            break;
        }