Merge "fs_mgr: overlayfs: CreateDynamicScratch for *partition_exists" am: 684122a264
Change-Id: I02520fe874e0ba5adefeb597acd31b401e635563
This commit is contained in:
commit
066cfa3726
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue