summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-10-12 21:19:33 +0200
committerDees_Troy <dees_troy@teamw.in>2012-10-12 21:19:33 +0200
commit6da522d5293494f55874e1a3db7b9cfa4d116a71 (patch)
tree4dd95cdb4371d6e9d9198c535a932d0ee97ce70c /partition.cpp
parentBump version number (diff)
downloadandroid_bootable_recovery-6da522d5293494f55874e1a3db7b9cfa4d116a71.tar
android_bootable_recovery-6da522d5293494f55874e1a3db7b9cfa4d116a71.tar.gz
android_bootable_recovery-6da522d5293494f55874e1a3db7b9cfa4d116a71.tar.bz2
android_bootable_recovery-6da522d5293494f55874e1a3db7b9cfa4d116a71.tar.lz
android_bootable_recovery-6da522d5293494f55874e1a3db7b9cfa4d116a71.tar.xz
android_bootable_recovery-6da522d5293494f55874e1a3db7b9cfa4d116a71.tar.zst
android_bootable_recovery-6da522d5293494f55874e1a3db7b9cfa4d116a71.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 0644fbae1..f1ce8bd18 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -1253,7 +1253,7 @@ bool TWPartition::Restore_Tar(string restore_folder) {
Full_FileName = restore_folder + "/" + Backup_FileName + split_index;
while (TWFunc::Path_Exists(Full_FileName)) {
ui_print("Restoring archive %i...\n", index + 1);
- Command = "cd " + Backup_Path + " && tar -xf '" + Full_FileName + "'";
+ Command = "tar -xf '" + Full_FileName + "'";
LOGI("Restore command: '%s'\n", Command.c_str());
system(Command.c_str());
index++;