summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-10-06 20:58:13 +0200
committerGravatar Nikias Bassen2023-10-06 20:58:13 +0200
commit6806495ca7df744f635be515c5cdf938ad49ea82 (patch)
tree3fe9210430d6c34cc2a0514292f32587e60aa7bb
parentf17f5208aa04e71915b9961f76fc6c59c454cd91 (diff)
downloadidevicerestore-6806495ca7df744f635be515c5cdf938ad49ea82.tar.gz
idevicerestore-6806495ca7df744f635be515c5cdf938ad49ea82.tar.bz2
restore: Also print checkpoint warning messages
-rw-r--r--src/restore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c
index 1d34a18..8063f08 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -4482,6 +4482,10 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit
} else {
info("Checkpoint started id: 0x%" PRIX64 " (%s)\n", ckpt_id, ckpt_name);
}
+ node = plist_dict_get_item(message, "CHECKPOINT_WARNING");
+ if (node) {
+ info("Checkpoint WARNING id: 0x%" PRIX64 " result=%" PRIi64 ": %s\n", ckpt_id, ckpt_res, plist_get_string_ptr(node, NULL));
+ }
node = plist_dict_get_item(message, "CHECKPOINT_ERROR");
if (node) {
info("Checkpoint FAILURE id: 0x%" PRIX64 " result=%" PRIi64 ": %s\n", ckpt_id, ckpt_res, plist_get_string_ptr(node, NULL));