core: fix hanging set_logging() dbus call by returning a result

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2014-02-12 11:04:31 +01:00
parent 84721804cd
commit 2ca7c89298

View file

@ -4100,9 +4100,11 @@ impl_manager_set_logging (NMManager *manager,
}
done:
if (error)
if (error) {
dbus_g_method_return_error (context, error);
g_clear_error (&error);
g_error_free (error);
} else
dbus_g_method_return (context);
}
static void