Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7cd90301 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "Fix ensure_path_mounted_at for fsck_unshare_blocks" am: a37aa092

am: ec6d0626

Change-Id: Ie353e86ded08409982b318d430fc6eb0d638c924
parents f502a8c9 ec6d0626
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {