[gnome-software] trivial: Fix reporting the error when the remote has no URL



commit dff51612f32fd75c5b70564e886440b9799b5445
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jul 28 13:20:18 2016 +0100

    trivial: Fix reporting the error when the remote has no URL

 src/plugins/gs-flatpak.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index cfd7d91..cca49b0 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -733,6 +733,7 @@ gs_plugin_refine_item_origin_hostname (GsFlatpak *self, GsApp *app,
                             GS_PLUGIN_ERROR_FAILED,
                             "no URL for remote %s",
                             flatpak_remote_get_name (xremote));
+               return FALSE;
        }
        gs_app_set_origin_hostname (app, url);
        return TRUE;


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