Merge "fs_mgr: overlayfs: CreateDynamicScratch for *partition_exists" am: 684122a264

Change-Id: I02520fe874e0ba5adefeb597acd31b401e635563
This commit is contained in:
Automerger Merge Worker 2020-02-12 18:15:25 +00:00
commit 066cfa3726
1 changed files with 2 additions and 0 deletions

View File

@ -1026,6 +1026,8 @@ static bool CreateDynamicScratch(std::string* scratch_device, bool* partition_ex
}
if (change) *change = true;
} else if (scratch_device->empty()) {
*scratch_device = GetBootScratchDevice();
}
return true;
}