summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-05-10 14:53:51 +0200
committerThomas Haller <thaller@redhat.com>2019-05-10 15:01:08 +0200
commit22e830f0469a654159e71b5bbddb2774bb5342c2 (patch)
treeda391a780064bc0a35b820d66fb305ceaf110c5a /src
parenta1b102eae4bc412297b72c327530abc1ca38d659 (diff)
downloadNetworkManager-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.c2
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 *)));