Fix error handling while deploying AppStream
authorSimon McVittie <smcv@collabora.com>
Sat, 7 Jul 2018 11:35:10 +0000 (12:35 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 7 Jul 2018 11:54:42 +0000 (12:54 +0100)
commit7b2e6558b913825a5b61b51a95157cd51057d22c
tree96f19d616386bf83e31fa16b607e51f0328cd9dc
parentdf09b8b9720e6015e10c6684bbdc9c0a0f5830b5
Fix error handling while deploying AppStream

Setting an error with second_error->message is going to work poorly
when second_error has never been set non-NULL.

Related to #1845, although not necessarily the full solution.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Forwarded: https://github.com/flatpak/flatpak/pull/1867

Gbp-Pq: Name Fix-error-handling-while-deploying-AppStream.patch
system-helper/flatpak-system-helper.c