summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-11-28 18:46:18 +0100
committerGravatar Martin Szulecki2011-04-11 19:42:18 +0200
commit59da81439f176f950b3cd7d4e3d67af8ab6d8508 (patch)
tree45162cc870b0b2f4208946f127edc05987450db6 /tools
parente02a0c0da685c2976ad51937853dd87ea14b880e (diff)
downloadlibimobiledevice-59da81439f176f950b3cd7d4e3d67af8ab6d8508.tar.gz
libimobiledevice-59da81439f176f950b3cd7d4e3d67af8ab6d8508.tar.bz2
idevicebackup4: Show correct message instead of "Backup Failed." if backup was aborted
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup4.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c
index 3208c1e..fa00713 100644
--- a/tools/idevicebackup4.c
+++ b/tools/idevicebackup4.c
@@ -1881,7 +1881,10 @@ files_out:
printf("Backup Successful.\n");
//mobilebackup_write_status(backup_directory, 1);
} else {
- printf("Backup Failed.\n");
+ if (quit_flag)
+ printf("Backup Aborted.\n");
+ else
+ printf("Backup Failed.\n");
}
}
if (lockfile) {