diff --git a/tasks/task_content.c b/tasks/task_content.c index 982f9dd54c..2c5f250482 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -1820,7 +1820,7 @@ void content_deinit(void) RARCH_LOG("%s: %s.\n", msg_hash_to_str(MSG_REMOVING_TEMPORARY_CONTENT_FILE), path); - if (!filestream_delete(path)) + if (filestream_delete(path) != 0) RARCH_ERR("%s: %s.\n", msg_hash_to_str(MSG_FAILED_TO_REMOVE_TEMPORARY_FILE), path);