mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-17 04:20:37 +01:00
A signal handler is not the only place where we need to clean up after an in-progress readline() on exit; we may do so when erroring out as well: Before (not also the missing line break, which is part of the cleanup): $ (sleep 10; nmcli c del 'Red Hat Wi-Fi') $ nmcli --ask d wifi connect 'Red Hat Wi-Fi' Passwords or encryption keys are required to access the wireless network 'Red Hat Wi-Fi'. Password (802-11-wireless-security.psk): Error: Connection activation failed: The device's active connection disappeared. $ [terminal messed up, no echo] After: $ (sleep 10; nmcli c del 'Red Hat Wi-Fi') $ nmcli --ask d wifi connect 'Red Hat Wi-Fi' Passwords or encryption keys are required to access the wireless network 'Red Hat Wi-Fi'. Password (802-11-wireless-security.psk): Error: Connection activation failed: The device's active connection disappeared. $ hello [terminal echo fine, wheee] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1959 |
||
|---|---|---|
| .. | ||
| agent.c | ||
| common.c | ||
| common.h | ||
| connections.c | ||
| connections.h | ||
| devices.c | ||
| devices.h | ||
| gen-metadata-nm-settings-nmcli.c | ||
| gen-metadata-nm-settings-nmcli.xml.in | ||
| general.c | ||
| meson.build | ||
| nmcli-completion | ||
| nmcli.c | ||
| nmcli.h | ||
| polkit-agent.c | ||
| polkit-agent.h | ||
| README.md | ||
| settings.c | ||
| settings.h | ||
| utils.c | ||
| utils.h | ||