Merge "Fix ensure_path_mounted_at for fsck_unshare_blocks" am: a37aa092c7
am: ec6d0626f4

Change-Id: Ie353e86ded08409982b318d430fc6eb0d638c924
diff --git a/fsck_unshare_blocks.cpp b/fsck_unshare_blocks.cpp
index b653d13..acc453c 100644
--- a/fsck_unshare_blocks.cpp
+++ b/fsck_unshare_blocks.cpp
@@ -121,7 +121,7 @@
 
   // 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) {