From 9725ffd5b7c0187d437ec597f917c91fac260ebc Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 17 Jul 2012 16:07:58 +0200 Subject: main: Hint at possibly corrupt firmware file when extracting it fails --- src/idevicerestore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } } -- cgit v1.1-32-gdbae