Commit c0663e42 authored by Dan Winship's avatar Dan Winship

tui: correctly return errors from NmtSecretAgent

parent 4c0ac46a
......@@ -447,7 +447,8 @@ nmt_secret_agent_get_secrets (NMSecretAgent *agent,
error = g_error_new (NM_SECRET_AGENT_ERROR, NM_SECRET_AGENT_ERROR_INTERNAL_ERROR,
"Request for %s secrets already pending", request_id);
nope:
callback (agent, connection, NULL, NULL, callback_data);
callback (agent, connection, NULL, error, callback_data);
g_error_free (error);
g_free (request_id);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment