summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/restore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c
index 44dc2aa..e4652bf 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -606,6 +606,7 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit
info("Device has successfully entered restore mode\n");
restore = client->restore->client;
+ device = client->restore->device;
// start the restore process
restore_error = restored_start_restore(restore);