NetworkManager/clients
Beniamino Galvani c0fc85f3c4 cli: check we have an active connection before showing hint
If the activation fails even before the active connection instance is
created, we get the following:

 $ nmcli connection up vpn1
 libnm-CRITICAL **: nm_active_connection_get_connection: assertion 'NM_IS_ACTIVE_CONNECTION (connection)' failed
 nmcli-CRITICAL **: active_connection_hint: assertion 'connection' failed
 Error: Connection activation failed: Not authorized to control networking.

Check that we have an active connection before showing the hint.

Fixes: bc6c042d54
2018-10-11 18:40:54 +02:00
..
cli cli: check we have an active connection before showing hint 2018-10-11 18:40:54 +02:00
common cli: add support for wpan.page and wpan.channel properties 2018-10-07 15:46:02 +02:00
tests Fix typos 2018-09-30 21:14:55 +02:00
tui docs: misc. typos 2018-09-15 09:08:03 +02:00
meson.build build: create "config-extra.h" header instead of passing directory variables via CFLAGS 2018-07-17 17:46:39 +02:00
nm-online.c nm-online: print "[started|start-pending|failure]" for --wait-for-startup 2018-06-30 10:59:08 +02:00