summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 18:37:48 +0200
committerGravatar Nikias Bassen2012-07-17 18:37:48 +0200
commit544d49f7613fe1bcfac88d545849c005b80a7796 (patch)
treed1d32ee19ca5a0dbb2f994624ed259f59d2e70c7
parent571ab2b51224d51a1b599d81a23eda25527daae5 (diff)
downloadidevicerestore-544d49f7613fe1bcfac88d545849c005b80a7796.tar.gz
idevicerestore-544d49f7613fe1bcfac88d545849c005b80a7796.tar.bz2
main: If mode switching from normal to recovery fails, return error code -5
This should indicate that a manual mode switch is required.
-rw-r--r--src/idevicerestore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 2eddb48..edf88f8 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -658,7 +658,7 @@ int main(int argc, char* argv[]) {
if (client->tss)
plist_free(client->tss);
plist_free(buildmanifest);
- return -2;
+ return -5;
}
}