diff options
author | Yifan Hong <elsk@google.com> | 2018-12-01 07:19:38 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-01 07:19:38 +0100 |
commit | ec6d0626f424f72dfeafe72538bca7fee1de32ca (patch) | |
tree | dad933d29a9681f0f6065f53a71ad2724aad47d7 | |
parent | Merge "ImageGenerator: ignore the duplicate locales" (diff) | |
parent | Merge "Fix ensure_path_mounted_at for fsck_unshare_blocks" (diff) | |
download | android_bootable_recovery-ec6d0626f424f72dfeafe72538bca7fee1de32ca.tar android_bootable_recovery-ec6d0626f424f72dfeafe72538bca7fee1de32ca.tar.gz android_bootable_recovery-ec6d0626f424f72dfeafe72538bca7fee1de32ca.tar.bz2 android_bootable_recovery-ec6d0626f424f72dfeafe72538bca7fee1de32ca.tar.lz android_bootable_recovery-ec6d0626f424f72dfeafe72538bca7fee1de32ca.tar.xz android_bootable_recovery-ec6d0626f424f72dfeafe72538bca7fee1de32ca.tar.zst android_bootable_recovery-ec6d0626f424f72dfeafe72538bca7fee1de32ca.zip |
Diffstat (limited to '')
-rw-r--r-- | fsck_unshare_blocks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck_unshare_blocks.cpp b/fsck_unshare_blocks.cpp index b653d13ce..acc453cd7 100644 --- a/fsck_unshare_blocks.cpp +++ b/fsck_unshare_blocks.cpp @@ -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) { |