summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 16:07:58 +0200
committerGravatar Nikias Bassen2012-07-17 16:07:58 +0200
commit9725ffd5b7c0187d437ec597f917c91fac260ebc (patch)
treeafa3016eaf4a6ada3a8458a75a6a5d0dbdca1e4c /src
parentfb4a61aff5c45cb775e80e3b55d43f733b01e420 (diff)
downloadidevicerestore-9725ffd5b7c0187d437ec597f917c91fac260ebc.tar.gz
idevicerestore-9725ffd5b7c0187d437ec597f917c91fac260ebc.tar.bz2
main: Hint at possibly corrupt firmware file when extracting it fails
Diffstat (limited to 'src')
-rw-r--r--src/idevicerestore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 47c9a4c..b990995 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -387,13 +387,13 @@ int main(int argc, char* argv[]) {
if (client->flags & FLAG_CUSTOM) {
info("Extracting Restore.plist from IPSW\n");
if (ipsw_extract_restore_plist(ipsw, &buildmanifest) < 0) {
- error("ERROR: Unable to extract Restore.plist from %s\n", ipsw);
+ error("ERROR: Unable to extract Restore.plist from %s. Firmware file might be corrupt.\n", ipsw);
return -1;
}
} else {
info("Extracting BuildManifest from IPSW\n");
if (ipsw_extract_build_manifest(ipsw, &buildmanifest, &tss_enabled) < 0) {
- error("ERROR: Unable to extract BuildManifest from %s\n", ipsw);
+ error("ERROR: Unable to extract BuildManifest from %s. Firmware file might be corrupt.\n", ipsw);
return -1;
}
}