summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/idevicerestore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 8c5cf3c..c5f6dbb 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -806,7 +806,7 @@ int main(int argc, char* argv[]) {
recovery_send_reset(client);
if (delete_fs && filesystem)
unlink(filesystem);
- return -1;
+ return -2;
}
if (!client->nonce || (nonce_size != client->nonce_size) || (memcmp(nonce, client->nonce, nonce_size) != 0)) {