From 2b2a235a49a5b34b9fe51128275d024eb272cbbe Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 28 Jun 2012 17:07:42 -0500 Subject: [PATCH] network: don't ask for always-ask secrets when interaction isn't allowed Clearly a typo... https://bugzilla.gnome.org/show_bug.cgi?id=679091 --- src/shell-network-agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-network-agent.c b/src/shell-network-agent.c index ca60539f7..c8d3a9863 100644 --- a/src/shell-network-agent.c +++ b/src/shell-network-agent.c @@ -406,7 +406,7 @@ shell_network_agent_get_secrets (NMSecretAgent *agent, g_hash_table_replace (self->priv->requests, request->request_id, request); if ((flags & NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW) || - (flags && NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION + ((flags & NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION) && is_connection_always_ask (request->connection))) { request_secrets_from_ui (request);