summaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/restore.c')
-rw-r--r--src/restore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c
index 47c93dd..d26f398 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -3692,6 +3692,10 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit
// this is the restore process loop, it reads each message in from
// restored and passes that data on to it's specific handler
while (!(client->flags & FLAG_QUIT)) {
+ if (client->flags & FLAG_IGNORE_ERRORS) {
+ error("WARNING: Attempting to continue after critical error, restore might fail...\n");
+ err = 0;
+ }
// finally, if any of these message handlers returned -1 then we encountered
// an unrecoverable error, so we need to bail.
if (err < 0) {