diff options
author | Martin Szulecki | 2012-07-17 18:37:48 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 18:37:48 +0200 |
commit | 544d49f7613fe1bcfac88d545849c005b80a7796 (patch) | |
tree | d1d32ee19ca5a0dbb2f994624ed259f59d2e70c7 /src | |
parent | 571ab2b51224d51a1b599d81a23eda25527daae5 (diff) | |
download | idevicerestore-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/idevicerestore.c | 2 |
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; } } |