[gnome-software] trivial: Convert an ERROR_FAILED to ERROR_NO_SECURITY



commit 7b1f0759496f7ce77d122ff3f2a6f94f444893c6
Author: Richard Hughes <richard hughsie com>
Date:   Wed Sep 7 15:14:11 2016 +0100

    trivial: Convert an ERROR_FAILED to ERROR_NO_SECURITY

 src/plugins/gs-plugin-fwupd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fwupd.c b/src/plugins/gs-plugin-fwupd.c
index c861e63..9fe6c05 100644
--- a/src/plugins/gs-plugin-fwupd.c
+++ b/src/plugins/gs-plugin-fwupd.c
@@ -427,7 +427,7 @@ gs_plugin_add_update_app (GsPlugin *plugin,
                if (update_hash == NULL) {
                        g_set_error (error,
                                     GS_PLUGIN_ERROR,
-                                    GS_PLUGIN_ERROR_FAILED,
+                                    GS_PLUGIN_ERROR_NO_SECURITY,
                                     "%s [%s] (%s) has no checksum, ignoring as unsafe",
                                     gs_app_get_name (app),
                                     gs_app_get_id (app),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]