diff --git a/fs_mgr/fs_mgr_remount.cpp b/fs_mgr/fs_mgr_remount.cpp index e685070a8..5411acacf 100644 --- a/fs_mgr/fs_mgr_remount.cpp +++ b/fs_mgr/fs_mgr_remount.cpp @@ -420,7 +420,8 @@ static int do_remount(int argc, char* argv[]) { break; } // Find overlayfs mount point? - if ((mount_point == "/") && (rentry.mount_point == "/system")) { + if ((mount_point == "/" && rentry.mount_point == "/system") || + (mount_point == "/system" && rentry.mount_point == "/")) { blk_device = rentry.blk_device; mount_point = "/system"; found = true;