From 544d49f7613fe1bcfac88d545849c005b80a7796 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 17 Jul 2012 18:37:48 +0200 Subject: main: If mode switching from normal to recovery fails, return error code -5 This should indicate that a manual mode switch is required. --- src/idevicerestore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/idevicerestore.c') 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; } } -- cgit v1.1-32-gdbae