Merge "Fix ensure_path_mounted_at for fsck_unshare_blocks" am: a37aa092c7
am: ec6d0626f4
am: 7cd9030196
Change-Id: Idf3f1debec141803cd821ba22b3ea036c3daf938
This commit is contained in:
commit
84e9e60b0f
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ bool do_fsck_unshare_blocks() {
|
|||
|
||||
// Temporarily mount system so we can copy e2fsck_static.
|
||||
std::string system_root = get_system_root();
|
||||
bool mounted = ensure_path_mounted_at(system_root.c_str(), "/mnt/system");
|
||||
bool mounted = ensure_path_mounted_at(system_root.c_str(), "/mnt/system") != -1;
|
||||
partitions.push_back(system_root);
|
||||
|
||||
if (!mounted) {
|
||||
|
|
Loading…
Reference in a new issue