Merge "remount: Fix failure for system-as-root"
This commit is contained in:
commit
d5e5ba7e96
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue