libnm: set error when failing registration of old secret agent

We return FALSE, we ought to return a meaningful error.

(cherry picked from commit 0ea1fb4e5e)
This commit is contained in:
Lubomir Rintel 2015-04-27 11:10:38 +02:00
parent c17b08ea3c
commit 0d07de4f96

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