client: cli: Fix message in connect callback

https://github.com/NetworkManager/NetworkManager/pull/134
This commit is contained in:
Andrew Zaborowski 2018-06-12 05:59:20 +02:00 committed by Thomas Haller
parent ea23010baa
commit e8a197506c

View file

@ -1725,7 +1725,7 @@ add_and_activate_cb (GObject *client,
if (state == NM_ACTIVE_CONNECTION_STATE_ACTIVATED) {
if (nmc->nmc_config.print_output == NMC_PRINT_PRETTY)
nmc_terminal_erase_line ();
if (info->hotspot)
if (!info->hotspot)
g_print (_("Connection with UUID '%s' created and activated on device '%s'\n"),
nm_active_connection_get_uuid (active), nm_device_get_iface (device));
else