diff options
author | Thomas Haller <thaller@redhat.com> | 2018-04-09 18:48:05 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-04-13 09:09:46 +0200 |
commit | 87227038924ecce336f8605eaed034b5b22d1b7c (patch) | |
tree | 38b0427ae9feb6d2fb8878fbbfa16b62e05e4169 /src/nm-auth-utils.c | |
parent | 9385c7a7cfe9ac5dcc60f638d2ab9d7768e832c4 (diff) | |
download | NetworkManager-87227038924ecce336f8605eaed034b5b22d1b7c.tar.gz |
auth-chain: drop logging in NMAuthChain when request fails
For one, we already do <trace> level logging inside NMAuthManager.
So, at trace level we have everything.
If a request fails, it's not up to NMAuthChain to log a warning.
Diffstat (limited to 'src/nm-auth-utils.c')
-rw-r--r-- | src/nm-auth-utils.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nm-auth-utils.c b/src/nm-auth-utils.c index c04dd987a0..4d268d0025 100644 --- a/src/nm-auth-utils.c +++ b/src/nm-auth-utils.c @@ -258,12 +258,6 @@ pk_call_cb (NMAuthManager *auth_manager, call->call_id = NULL; - if (error) { - /* Don't ruin the chain. Just leave the result unknown. */ - nm_log_warn (LOGD_CORE, "error requesting auth for %s: %s", - call->permission, error->message); - } - call_result = nm_auth_call_result_eval (is_authorized, is_challenge, error); nm_auth_chain_set_data (call->chain, call->permission, GUINT_TO_POINTER (call_result), NULL); |