mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 08:50:12 +01:00
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:297d4985ab('core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API'): (cherry picked from commit22e830f046) (cherry picked from commite73a505866) (cherry picked from commit1337ebd9d0) (cherry picked from commit703864e2b3)
This commit is contained in:
parent
7a019089d4
commit
add6f1c236
1 changed files with 1 additions and 1 deletions
|
|
@ -1481,7 +1481,7 @@ next_filename:
|
|||
|
||||
g_dbus_method_invocation_return_value (invocation,
|
||||
g_variant_new ("(b^as)",
|
||||
(gboolean) (!!failures),
|
||||
(gboolean) (!failures),
|
||||
failures
|
||||
? (const char **) failures->pdata
|
||||
: NM_PTRARRAY_EMPTY (const char *)));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue