summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-context.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2022-04-13 14:47:06 +0100
committerRichard Hughes <richard@hughsie.com>2022-04-13 14:54:00 +0100
commit6235bc1a2c5bdcb995760db63f2da61665182ac9 (patch)
tree275e070dc612a0886d9a2652c38271c077f3232c /libappstream-builder/asb-context.c
parent0883a64dba553b778e04175b0a5b7f1c3c135027 (diff)
downloadappstream-glib-6235bc1a2c5bdcb995760db63f2da61665182ac9.tar.gz
trivial: Be explicit when ignoring return error values
Diffstat (limited to 'libappstream-builder/asb-context.c')
-rw-r--r--libappstream-builder/asb-context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-builder/asb-context.c b/libappstream-builder/asb-context.c
index e2b83df..0bf6e32 100644
--- a/libappstream-builder/asb-context.c
+++ b/libappstream-builder/asb-context.c
@@ -1053,7 +1053,8 @@ asb_context_process (AsbContext *ctx, GError **error)
"%s is not enabled",
asb_package_get_nevr (pkg));
asb_context_add_app_ignore (ctx, pkg);
- asb_package_log_flush (pkg, NULL);
+ if (!asb_package_log_flush (pkg, error))
+ return FALSE;
continue;
}