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

Commit cab56c0b authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

fs_mgr: check console-ramoops-0

On later kernels /sys/fs/pstore/console-ramoops becomes
/sys/fs/pstore/console-ramoops-0

Test: none
Bug: 63058217
Change-Id: If1422e4df09b68c44f16608b1d191aeb6378c66b
parent 449bfd7a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -349,9 +349,12 @@ out:
static int was_verity_restart()
{
    static const char* files[] = {
        // clang-format off
        "/sys/fs/pstore/console-ramoops-0",
        "/sys/fs/pstore/console-ramoops",
        "/proc/last_kmsg",
        NULL
        // clang-format on
    };
    int i;