diff options
author | Martin Szulecki | 2012-07-17 16:07:58 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 16:07:58 +0200 |
commit | 9725ffd5b7c0187d437ec597f917c91fac260ebc (patch) | |
tree | afa3016eaf4a6ada3a8458a75a6a5d0dbdca1e4c | |
parent | fb4a61aff5c45cb775e80e3b55d43f733b01e420 (diff) | |
download | idevicerestore-9725ffd5b7c0187d437ec597f917c91fac260ebc.tar.gz idevicerestore-9725ffd5b7c0187d437ec597f917c91fac260ebc.tar.bz2 |
main: Hint at possibly corrupt firmware file when extracting it fails
-rw-r--r-- | src/idevicerestore.c | 4 |
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; } } |