From dc8bc1b28a78fb7371a7aee9ceabf4743b976e10 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Thu, 17 Jan 2013 01:39:28 +0000 Subject: ORS engine fixes Fix backup to not error when a non-existant partition is given. Fix restore to run when no partition parameters are given. Ensure that ORS runs after decryption and that zips install. Fix a problem with the fake internal sdcard not mounting to /sdcard on data media devices. --- partition.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'partition.cpp') diff --git a/partition.cpp b/partition.cpp index 9122596f3..b611e2499 100644 --- a/partition.cpp +++ b/partition.cpp @@ -725,7 +725,9 @@ bool TWPartition::Mount(bool Display_Error) { Update_Size(Display_Error); if (!Symlink_Mount_Point.empty()) { - mount(Symlink_Path.c_str(), Symlink_Mount_Point.c_str(), Fstab_File_System.c_str(), NULL, NULL); + string Command, Result; + Command = "mount '" + Symlink_Path + "' '" + Symlink_Mount_Point + "'"; + TWFunc::Exec_Cmd(Command, Result); } return true; } -- cgit v1.2.3