summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorcodelover <gerrit@code.info.tm>2015-03-14 13:26:49 +0100
committerDees Troy <dees_troy@teamw.in>2015-03-19 17:43:09 +0100
commit2a3d4ce3ca74e5cf5ea5c85f2152083cf7393f95 (patch)
tree1358235965e5c25031e2ff3c4a42125427081ce5 /partition.cpp
parenttoolbox: Include setenforce into tools.h (diff)
downloadandroid_bootable_recovery-2a3d4ce3ca74e5cf5ea5c85f2152083cf7393f95.tar
android_bootable_recovery-2a3d4ce3ca74e5cf5ea5c85f2152083cf7393f95.tar.gz
android_bootable_recovery-2a3d4ce3ca74e5cf5ea5c85f2152083cf7393f95.tar.bz2
android_bootable_recovery-2a3d4ce3ca74e5cf5ea5c85f2152083cf7393f95.tar.lz
android_bootable_recovery-2a3d4ce3ca74e5cf5ea5c85f2152083cf7393f95.tar.xz
android_bootable_recovery-2a3d4ce3ca74e5cf5ea5c85f2152083cf7393f95.tar.zst
android_bootable_recovery-2a3d4ce3ca74e5cf5ea5c85f2152083cf7393f95.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partition.cpp b/partition.cpp
index 87a605bce..ef29bb6b3 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -1029,7 +1029,7 @@ bool TWPartition::Mount(bool Display_Error) {
Update_Size(Display_Error);
if (!Symlink_Mount_Point.empty()) {
- string Command = "mount '" + Symlink_Path + "' '" + Symlink_Mount_Point + "'";
+ string Command = "mount -o bind '" + Symlink_Path + "' '" + Symlink_Mount_Point + "'";
TWFunc::Exec_Cmd(Command);
}
return true;