summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 17:46:44 +0200
committerGravatar Nikias Bassen2012-07-17 17:46:44 +0200
commit0fbdab672aa7770447695bbf2e065210d78b141b (patch)
tree809337b0da3971476038df3a37a627afbb524d90
parentf8b4239352d7138efb4ec234720c289705cfb243 (diff)
downloadidevicerestore-0fbdab672aa7770447695bbf2e065210d78b141b.tar.gz
idevicerestore-0fbdab672aa7770447695bbf2e065210d78b141b.tar.bz2
main: Determine device mode again after rebooting it from restore mode
-rw-r--r--src/idevicerestore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 84d8fb6..59d4a14 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -375,6 +375,9 @@ int main(int argc, char* argv[]) {
error("ERROR: Unable to exit restore mode\n");
return -1;
}
+
+ // we need to refresh the current mode again
+ check_mode(client);
}
// verify if ipsw file exists