diff options
author | Martin Szulecki | 2012-07-17 17:46:44 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 17:46:44 +0200 |
commit | 0fbdab672aa7770447695bbf2e065210d78b141b (patch) | |
tree | 809337b0da3971476038df3a37a627afbb524d90 /src | |
parent | f8b4239352d7138efb4ec234720c289705cfb243 (diff) | |
download | idevicerestore-0fbdab672aa7770447695bbf2e065210d78b141b.tar.gz idevicerestore-0fbdab672aa7770447695bbf2e065210d78b141b.tar.bz2 |
main: Determine device mode again after rebooting it from restore mode
Diffstat (limited to 'src')
-rw-r--r-- | src/idevicerestore.c | 3 |
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 |