From 1c9a54db27a603492d1560a1ef9e3025f95b68a4 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Mon, 3 Oct 2016 22:23:39 -0400 Subject: [PATCH] ignore return value of init_content_file_extract, fixes exit/crash when we can't load the content. (non-compressed corrupt content returns true anyway) --- tasks/task_content.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/task_content.c b/tasks/task_content.c index bdba400696..eb53814ffe 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -693,9 +693,8 @@ static bool init_content_file_set_attribs( #ifdef HAVE_COMPRESSION /* Try to extract all content we're going to load if appropriate. */ - if (!init_content_file_extract(temporary_content, - content, special, &attr)) - return false; + init_content_file_extract(temporary_content, + content, special, &attr); #endif return true; }