Commit add6f1c2 authored by Thomas Haller's avatar Thomas Haller

settings/d-bus: fix boolean return value of "LoadConnections"

The boolean value is intended to indicate success. It would indicated
failure due to a bug.

Fixes: 297d4985 ('core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API'):
(cherry picked from commit 22e830f0)
(cherry picked from commit e73a5058)
(cherry picked from commit 1337ebd9)
(cherry picked from commit 703864e2)
parent 7a019089
......@@ -1481,7 +1481,7 @@ next_filename:
g_dbus_method_invocation_return_value (invocation,
g_variant_new ("(b^as)",
(gboolean) (!!failures),
(gboolean) (!failures),
? (const char **) failures->pdata
: NM_PTRARRAY_EMPTY (const char *)));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment