Merge "fs_mgr: overlayfs: CreateDynamicScratch for *partition_exists"
This commit is contained in:
commit
684122a264
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue