summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-04-27 11:10:38 +0200
committerLubomir Rintel <lkundrak@v3.sk>2015-04-28 12:28:36 +0200
commit0ea1fb4e5e8de9641c98c6ff592bca00b9887976 (patch)
tree725be9247de4e8662ad3e7f420f8e3d6a38ba631 /libnm
parentdb4d83d5a42685f142a4c91b5bd58422e5bf2484 (diff)
downloadNetworkManager-0ea1fb4e5e8de9641c98c6ff592bca00b9887976.tar.gz
libnm: set error when failing registration of old secret agent
We return FALSE, we ought to return a meaningful error.
Diffstat (limited to 'libnm')
-rw-r--r--libnm/nm-secret-agent-old.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-secret-agent-old.c b/libnm/nm-secret-agent-old.c
index 606c40999d..5da8ef655f 100644
--- a/libnm/nm-secret-agent-old.c
+++ b/libnm/nm-secret-agent-old.c
@@ -556,7 +556,7 @@ nm_secret_agent_old_register (NMSecretAgentOld *self,
*/
if (nmdbus_agent_manager_call_register_sync (priv->manager_proxy,
priv->identifier,
- cancellable, NULL))
+ cancellable, error))
goto success;
/* Failure */