summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 17:44:30 +0200
committerGravatar Nikias Bassen2012-07-17 17:44:30 +0200
commit86308fc8e4eb562409b2a73e7447f9d9a830c287 (patch)
tree6a831141533d523911e21387a27f0e21248ae825 /src/idevicerestore.c
parent4b51a7d805d55e4bc4b61c3587bfb18200162678 (diff)
downloadidevicerestore-86308fc8e4eb562409b2a73e7447f9d9a830c287.tar.gz
idevicerestore-86308fc8e4eb562409b2a73e7447f9d9a830c287.tar.bz2
main: Wait 15 seconds for device to boot restore mode before connecting again
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c3
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