Skip to content

Commit

Permalink
Revert "/sdcard: do not bind mount twice"
Browse files Browse the repository at this point in the history
 * It didn't symlinks /data/media/0 to /sdcard

This reverts commit db6fe78.

Signed-off-by: Alex Damaratski <[email protected]>
  • Loading branch information
uixdess committed Dec 27, 2021
1 parent db6fe78 commit ded147c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ bool TWPartition::Mount(bool Display_Error) {
if (Removable)
Update_Size(Display_Error);

if (!Symlink_Mount_Point.empty() && Symlink_Mount_Point != "/sdcard") {
if (!Symlink_Mount_Point.empty()) {
if (!Bind_Mount(false))
return false;
}
Expand Down

0 comments on commit ded147c

Please sign in to comment.