diff options
author | Martin Szulecki | 2012-07-17 17:44:30 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 17:44:30 +0200 |
commit | 86308fc8e4eb562409b2a73e7447f9d9a830c287 (patch) | |
tree | 6a831141533d523911e21387a27f0e21248ae825 /src | |
parent | 4b51a7d805d55e4bc4b61c3587bfb18200162678 (diff) | |
download | idevicerestore-86308fc8e4eb562409b2a73e7447f9d9a830c287.tar.gz idevicerestore-86308fc8e4eb562409b2a73e7447f9d9a830c287.tar.bz2 |
main: Wait 15 seconds for device to boot restore mode before connecting again
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 cb95e7d..84d8fb6 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -785,6 +785,9 @@ int main(int argc, char* argv[]) { unlink(filesystem); return -1; } + + info("waiting for device...\n"); + sleep(15); } // device is finally in restore mode, let's do this |