diff options
| author | Thomas Haller <thaller@redhat.com> | 2019-05-10 14:53:51 +0200 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2019-05-10 15:01:08 +0200 |
| commit | 22e830f0469a654159e71b5bbddb2774bb5342c2 (patch) | |
| tree | da391a780064bc0a35b820d66fb305ceaf110c5a /src | |
| parent | a1b102eae4bc412297b72c327530abc1ca38d659 (diff) | |
| download | NetworkManager-22e830f0469a654159e71b5bbddb2774bb5342c2.tar.gz | |
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: 297d4985abcc ('core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API'):
Diffstat (limited to 'src')
| -rw-r--r-- | src/settings/nm-settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/nm-settings.c b/src/settings/nm-settings.c index bba15b9a5c..b49d5d5aee 100644 --- a/src/settings/nm-settings.c +++ b/src/settings/nm-settings.c @@ -1460,7 +1460,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 *))); |
