summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 17:53:50 +0200
committerGravatar Nikias Bassen2012-07-17 17:53:50 +0200
commit16820272fec85345ec00a7a150e02dc245b6ddf9 (patch)
treec50944974cb94d624d039d0e0c72cafadbd7066a
parent78517a7df8d15480cdac22682b8b071c511f19cc (diff)
downloadidevicerestore-16820272fec85345ec00a7a150e02dc245b6ddf9.tar.gz
idevicerestore-16820272fec85345ec00a7a150e02dc245b6ddf9.tar.bz2
main: Output last known mode when mode switch to recovery failed
-rw-r--r--src/idevicerestore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index b53ebbd..5cf90d2 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -694,7 +694,7 @@ int main(int argc, char* argv[]) {
info("exploited\n");
}
if (dfu_enter_recovery(client, build_identity) < 0) {
- error("ERROR: Unable to place device into recovery mode\n");
+ error("ERROR: Unable to place device into recovery mode from %s mode\n", client->mode->string);
plist_free(buildmanifest);
if (client->tss)
plist_free(client->tss);