summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 18:44:00 +0200
committerGravatar Nikias Bassen2012-07-17 18:44:00 +0200
commita090d09b3ca756c7fdd355cc92dde6d543ab7c6e (patch)
tree85f89ea0a6181a49cb867653e51aa9d1884ba033 /src
parentfc4cf3528bce2b04d12bc41fd97fc8d481daca4e (diff)
downloadidevicerestore-a090d09b3ca756c7fdd355cc92dde6d543ab7c6e.tar.gz
idevicerestore-a090d09b3ca756c7fdd355cc92dde6d543ab7c6e.tar.bz2
restore: Return -2 error code on ASR failures as a new attempt might work
Diffstat (limited to 'src')
-rw-r--r--src/restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index 56179d0..c1d5e25 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1395,7 +1395,7 @@ int restore_handle_data_request_msg(struct idevicerestore_client_t* client, idev
if (!strcmp(type, "SystemImageData")) {
if(restore_send_filesystem(device, filesystem) < 0) {
error("ERROR: Unable to send filesystem\n");
- return -1;
+ return -2;
}
}