diff options
author | Koushik Dutta <koushd@gmail.com> | 2012-11-17 12:13:35 -0800 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2012-11-17 12:13:35 -0800 |
commit | 77013ccee7c0c4570fad84f854b5b6a44bee6a73 (patch) | |
tree | 4ae0a6465c61befd9e7932f47741e7053360f886 | |
parent | 1d950352ff7521ccf2ed6e680d18b08e48e31f32 (diff) | |
download | bootable_recovery-77013ccee7c0c4570fad84f854b5b6a44bee6a73.zip bootable_recovery-77013ccee7c0c4570fad84f854b5b6a44bee6a73.tar.gz bootable_recovery-77013ccee7c0c4570fad84f854b5b6a44bee6a73.tar.bz2 |
More logging around backup completeion.
Change-Id: Ic9dcb1745f4172919da9d33fa6961bee3bef3b15
-rw-r--r-- | nandroid.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -282,6 +282,7 @@ int nandroid_backup_partition_extended(const char* backup_path, const char* moun ui_print("Error while making a backup image of %s!\n", mount_point); return ret; } + ui_print("Backup of %s completed.\n", name); return 0; } @@ -289,7 +290,7 @@ int nandroid_backup_partition(const char* backup_path, const char* root) { Volume *vol = volume_for_path(root); // make sure the volume exists before attempting anything... if (vol == NULL || vol->fs_type == NULL) - return NULL; + return 0; // see if we need a raw backup (mtd) char tmp[PATH_MAX]; @@ -304,6 +305,7 @@ int nandroid_backup_partition(const char* backup_path, const char* root) { ui_print("Error while backing up %s image!", name); return ret; } + ui_print("Backup of %s image completed.\n", name); return 0; } |