summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-10-06 12:24:55 +0200
committerGravatar Nikias Bassen2023-10-06 12:24:55 +0200
commitf17f5208aa04e71915b9961f76fc6c59c454cd91 (patch)
tree2c388a07a353bc42f93b7331f05b81aae3f3087b /src
parent523e567f16f45dc3b9a73921d700e026bcc4b94e (diff)
downloadidevicerestore-f17f5208aa04e71915b9961f76fc6c59c454cd91.tar.gz
idevicerestore-f17f5208aa04e71915b9961f76fc6c59c454cd91.tar.bz2
restore: Add Ace3 as known updater name to suppress error message
Diffstat (limited to 'src')
-rw-r--r--src/restore.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c
index fc7ec9b..1d34a18 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -3200,6 +3200,12 @@ static int restore_send_firmware_updater_data(restored_client_t restore, struct
error("ERROR: %s: Couldn't get %s firmware data\n", __func__, s_updater_name);
goto error_out;
}
+ } else if (strcmp(s_updater_name, "Ace3") == 0) {
+ fwdict = restore_get_generic_firmware_data(restore, client, build_identity, p_info, arguments);
+ if (fwdict == NULL) {
+ error("ERROR: %s: Couldn't get %s firmware data\n", __func__, s_updater_name);
+ goto error_out;
+ }
} else {
error("ERROR: %s: Got unknown updater name '%s', trying to discover from device generated request.\n", __func__, s_updater_name);
fwdict = restore_get_generic_firmware_data(restore, client, build_identity, p_info, arguments);