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>
This commit is contained in:
Till Maas 2022-03-04 17:39:10 +01:00 committed by Thomas Haller
parent 65fdfb2500
commit f1b3dd4eb5
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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;
}