diff options
author | Thomas Haller <thaller@redhat.com> | 2020-04-09 11:59:24 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-04-10 10:44:56 +0200 |
commit | 277925c36a9623d9b3c1203abbc6ab6f44e54973 (patch) | |
tree | d7beab9ea5122a5700193d16a742ddfc756e4267 /shared | |
parent | d4a20fe3603419ce8f12963c0c716df38a0efe02 (diff) | |
download | NetworkManager-277925c36a9623d9b3c1203abbc6ab6f44e54973.tar.gz |
cli/polkit: suppress stderr from polkit-agent-helper when prompting for polkit authentication
Otherwise, we get an additional error message form the helper:
$ nmcli --ask device wifi rescan
System policy prevents Wi-Fi scans
(action_id: org.freedesktop.NetworkManager.wifi.scan)
password (user): •••••••
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
Error: org.freedesktop.NetworkManager.wifi.scan request failed: not authorized.
Diffstat (limited to 'shared')
0 files changed, 0 insertions, 0 deletions