[gnome-software/wip/rancell/apt] Revert "Set error when org.freedesktop.fwupd has no service"



commit fd75f321c30bd21389f56f9c46fccf112d901045
Author: William Hua <william hua canonical com>
Date:   Thu Mar 17 10:03:03 2016 -0400

    Revert "Set error when org.freedesktop.fwupd has no service"
    
    This reverts commit d1dc46037ce9918d97d5446788bf04223c8974d0.

 src/plugins/gs-plugin-fwupd.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fwupd.c b/src/plugins/gs-plugin-fwupd.c
index 1d8e3d4..fa28c02 100644
--- a/src/plugins/gs-plugin-fwupd.c
+++ b/src/plugins/gs-plugin-fwupd.c
@@ -485,10 +485,7 @@ gs_plugin_add_updates (GsPlugin *plugin,
                                     G_DBUS_ERROR,
                                     G_DBUS_ERROR_SERVICE_UNKNOWN)) {
                        /* the fwupd service might be unavailable, continue in that case */
-                       if (error) {
-                               *error = g_steal_pointer (&error_local);
-                               g_prefix_error (error, "could not get fwupd updates: ");
-                       }
+                       g_prefix_error (error, "could not get fwupd updates: ");
                        return FALSE;
                }
                if (g_error_matches (error_local,


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