Merge pull request #6520 from retro-wertz/patch-1

Fix false [ERROR] when closing content
This commit is contained in:
Twinaphex 2018-04-03 13:14:16 +02:00 committed by GitHub
commit 2d2094575e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);