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

Commit d6576491 authored by Bowgo Tsai's avatar Bowgo Tsai Committed by android-build-merger
Browse files

Merge "fs_mgr_verity: fix androidboot.veritymode=enforcing doesn't work" am: 6019991c

am: 4dd17998

Change-Id: I9e1cd04d0e324e58dfced430e10cb50a5ce24f21
parents c27f7911 4dd17998
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -663,7 +663,7 @@ int load_verity_state(struct fstab_rec* fstab, int* mode) {
    /* use the kernel parameter if set */
    std::string veritymode;
    if (fs_mgr_get_boot_config("veritymode", &veritymode)) {
        if (veritymode.compare("enforcing")) {
        if (veritymode == "enforcing") {
            *mode = VERITY_MODE_DEFAULT;
        }
        return 0;