libnm: set error when failing registration of old secret agent

We return FALSE, we ought to return a meaningful error.
This commit is contained in:
Lubomir Rintel
2015-04-27 11:10:38 +02:00
parent db4d83d5a4
commit 0ea1fb4e5e

View File

@@ -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 */