summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/restore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c
index 7cc2295..0e66a39 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -2383,6 +2383,10 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit
else if (!strcmp(type, "StatusMsg")) {
err = restore_handle_status_msg(restore, message);
if (restore_finished) {
+ plist_t dict = plist_new_dict();
+ plist_dict_set_item(dict, "MsgType", plist_new_string("ReceivedFinalStatusMsg"));
+ restored_send(restore, dict);
+ plist_free(dict);
client->flags |= FLAG_QUIT;
}
}