diff options
Diffstat (limited to 'tools/idevicebackup2.c')
| -rw-r--r-- | tools/idevicebackup2.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index 10fad81..c2f04c2 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c | |||
| @@ -2504,7 +2504,13 @@ files_out: | |||
| 2504 | PRINT_VERBOSE(1, "The device should reboot now.\n"); | 2504 | PRINT_VERBOSE(1, "The device should reboot now.\n"); |
| 2505 | PRINT_VERBOSE(1, "Restore Successful.\n"); | 2505 | PRINT_VERBOSE(1, "Restore Successful.\n"); |
| 2506 | } else { | 2506 | } else { |
| 2507 | PRINT_VERBOSE(1, "Restore Failed (Error Code %d).\n", -result_code); | 2507 | afc_remove_path(afc, "/iTunesRestore/RestoreApplications.plist"); |
| 2508 | afc_remove_path(afc, "/iTunesRestore"); | ||
| 2509 | if (quit_flag) { | ||
| 2510 | PRINT_VERBOSE(1, "Restore Aborted.\n"); | ||
| 2511 | } else { | ||
| 2512 | PRINT_VERBOSE(1, "Restore Failed (Error Code %d).\n", -result_code); | ||
| 2513 | } | ||
| 2508 | } | 2514 | } |
| 2509 | break; | 2515 | break; |
| 2510 | case CMD_INFO: | 2516 | case CMD_INFO: |
