diff options
author | Martin Szulecki | 2010-07-08 14:23:43 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-07-08 14:23:43 +0200 |
commit | 64ad5928ac315798e0c45690d1a477f5fd3a79f3 (patch) | |
tree | 8700c36c9940cfb5e45039bd7c0165841ecf905f | |
parent | 628f5d0ee70daec242062a3dda3a7784d516dd30 (diff) | |
download | idevicerestore-64ad5928ac315798e0c45690d1a477f5fd3a79f3.tar.gz idevicerestore-64ad5928ac315798e0c45690d1a477f5fd3a79f3.tar.bz2 |
Do not report the detected device mode twice
-rw-r--r-- | src/idevicerestore.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 456d290..c338a15 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -279,22 +279,18 @@ int check_mode(struct idevicerestore_client_t* client) { int mode = MODE_UNKNOWN; if (recovery_check_mode() == 0) { - info("Found device in recovery mode\n"); mode = MODE_RECOVERY; } else if (dfu_check_mode() == 0) { - info("Found device in DFU mode\n"); mode = MODE_DFU; } else if (normal_check_mode(client->uuid) == 0) { - info("Found device in normal mode\n"); mode = MODE_NORMAL; } else if (restore_check_mode(client->uuid) == 0) { - info("Found device in restore mode\n"); mode = MODE_RESTORE; } |