summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/recovery.c')
-rw-r--r--src/recovery.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/recovery.c b/src/recovery.c
index 4d283e1..9e86cc5 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -152,14 +152,14 @@ int recovery_enter_restore(struct idevicerestore_client_t* client, plist_t build
}
}
- irecv_send_command(client->recovery->client, "getenv build-version");
- irecv_send_command(client->recovery->client, "getenv build-style");
- irecv_send_command(client->recovery->client, "getenv radio-error");
-
if (recovery_set_autoboot(client, 0) < 0) {
return -1;
}
+ irecv_send_command(client->recovery->client, "getenv build-version");
+ irecv_send_command(client->recovery->client, "getenv build-style");
+ irecv_send_command(client->recovery->client, "getenv radio-error");
+
/* send logo and show it */
if (recovery_send_applelogo(client, build_identity) < 0) {
error("ERROR: Unable to send AppleLogo\n");