summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-20 21:32:13 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-20 21:32:50 +0200
commitc51f1f994ada7b46224f672481c0dacf3894c70b (patch)
treede20eb047205f9fec817cdd18ec47a82ae16add5 /partitionmanager.cpp
parentFix fstab and unmount problems (diff)
downloadandroid_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar
android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.gz
android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.bz2
android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.lz
android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.xz
android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.zst
android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.zip
Diffstat (limited to '')
-rw-r--r--partitionmanager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 2bcbc2713..2e0219e01 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -413,11 +413,10 @@ bool TWPartitionManager::Make_MD5(bool generate_md5, string Backup_Folder, strin
if (!generate_md5)
return true;
- ui_print(" * Generating md5...");
+ ui_print(" * Generating md5...\n");
if (TWFunc::Path_Exists(Full_File)) {
sprintf(command, "cd '%s' && md5sum %s > %s.md5",Backup_Folder.c_str(), Backup_Filename.c_str(), Backup_Filename.c_str());
- LOGI("MD5 command is: '%s'\n", command);
if (system(command) == 0) {
ui_print("MD5 Created.\n");
return true;
@@ -432,7 +431,6 @@ bool TWPartitionManager::Make_MD5(bool generate_md5, string Backup_Folder, strin
sprintf(filename, "%s%03i", Full_File.c_str(), index);
while (TWFunc::Path_Exists(filename) == true) {
sprintf(command, "cd '%s' && md5sum %s%03i > %s%03i.md5",Backup_Folder.c_str(), Backup_Filename.c_str(), index, Backup_Filename.c_str(), index);
- LOGI("MD5 command is: '%s'\n", command);
if (system(command) != 0) {
ui_print("MD5 Error.\n");
return false;