diff options
author | Till Maas <opensource@till.name> | 2022-03-04 17:39:10 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-03-04 18:09:02 +0100 |
commit | f1b3dd4eb599d17ed894afcecf74c5e7a11cf947 (patch) | |
tree | 5f3f6f2ed95de363ea887ee7edbe718030370dac | |
parent | 65fdfb25006acc3c67059792579dd7a770d04768 (diff) | |
download | NetworkManager-f1b3dd4eb599d17ed894afcecf74c5e7a11cf947.tar.gz |
libnmc: Remove verbose logging
Don't log the failure to spawn the auth dialog. This is polluting the
terminal when using nmcli when activating an OpenVPN profile if
/usr/libexec/nm-openvpn-auth-dialog is not available. Since nmcli can
still ask for the credentials, the missing auth dialog does not block
the activation, so the "warning" level is too much. Since it is a
library, any output to the terminal is bad, therefore remove the
logging.
Signed-off-by: Till Maas <opensource@till.name>
-rw-r--r-- | src/libnmc-base/nm-secret-agent-simple.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnmc-base/nm-secret-agent-simple.c b/src/libnmc-base/nm-secret-agent-simple.c index 5651a15bb8..de3de05a84 100644 --- a/src/libnmc-base/nm-secret-agent-simple.c +++ b/src/libnmc-base/nm-secret-agent-simple.c @@ -795,7 +795,6 @@ try_spawn_vpn_auth_helper(RequestData *request, GPtrArray *secrets) &auth_dialog_out_fd, NULL, &error)) { - g_warning("Failed to spawn the auth dialog%s\n", error->message); return FALSE; } |