summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2015-09-07 12:53:02 +0200
committerStef Walter <stefw@redhat.com>2015-09-07 12:53:02 +0200
commitef0797e5ed116a98cc074a6d4e1d1d6b6e6384db (patch)
tree3cf2d49d213c0277f1124fbe228f9d649dd82ef3
parent5fbff4c2d1d2a6429529b3bc950ca4f3090543d8 (diff)
service: Fix issue where diagnostics about package install hidden
Due to the recent refactoring the diagnostics about package installation were hidden (even when --verbose). https://bugzilla.redhat.com/show_bug.cgi?id=1258745
-rw-r--r--service/realm-packages.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/realm-packages.c b/service/realm-packages.c
index 9da852c..321921a 100644
--- a/service/realm-packages.c
+++ b/service/realm-packages.c
@@ -615,6 +615,7 @@ realm_packages_install_async (const gchar **package_sets,
task = g_task_new (NULL, NULL, callback, user_data);
install = g_new0 (InstallClosure, 1);
install->automatic = realm_options_automatic_install ();
+ install->invocation = invocation ? g_object_ref (invocation) : NULL;
install->connection = g_object_ref (connection);
g_task_set_task_data (task, install, install_closure_free);