Better error handling and logging

This commit is contained in:
topjohnwu
2020-12-05 10:23:49 -08:00
parent ff0a76606e
commit 2a694596b5
3 changed files with 17 additions and 3 deletions

View File

@ -346,6 +346,7 @@ void SARInit::early_mount() {
auto init = raw_data::mmap_ro("/init");
is_two_stage = init.contains("selinux_setup");
}
LOGD("is_two_stage: [%d]\n", is_two_stage);
if (!is_two_stage) {
// Make dev writable