Commit ecdf7087 authored by Lubomir Rintel's avatar Lubomir Rintel
Browse files

applet-agent: tolerate keyring not being there for interactive requests

This is essentially an usability thing that allows system-owned secrets to
be used even when GNOME keyring is not installed.

parent fe74f80d
Pipeline #14823 passed with stages
in 15 minutes and 3 seconds
......@@ -299,6 +299,11 @@ keyring_find_secrets_cb (GObject *source,
"The secrets request was canceled by the user");
g_error_free (search_error);
goto done;
&& g_error_matches (search_error, G_DBUS_ERROR, G_DBUS_ERROR_SERVICE_UNKNOWN)) {
/* If the connection always asks for secrets, tolerate
* keyring service not being present. */
g_clear_error (&search_error);
} else if (search_error) {
error = g_error_new (NM_SECRET_AGENT_ERROR,
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