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
This commit is contained in:
parent
449bfd7a93
commit
cab56c0ba5
|
@ -348,10 +348,13 @@ out:
|
|||
|
||||
static int was_verity_restart()
|
||||
{
|
||||
static const char *files[] = {
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue