From 1a8921f7d6c89530c3418703574af9083039d4d5 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 8 Jun 2017 19:40:11 +0200 Subject: ipsw: Suppress (misleading) error message when a requested file is not found in archive --- src/ipsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipsw.c b/src/ipsw.c index a0ed824..5b0a350 100644 --- a/src/ipsw.c +++ b/src/ipsw.c @@ -191,7 +191,7 @@ int ipsw_extract_to_memory(const char* ipsw, const char* infile, unsigned char** int zindex = zip_name_locate(archive->zip, infile, 0); if (zindex < 0) { - error("ERROR: zip_name_locate: %s\n", infile); + debug("NOTE: zip_name_locate: '%s' not found in archive.\n", infile); return -1; } -- cgit v1.1-32-gdbae