summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Zaborowski <andrew.zaborowski@intel.com>2018-06-12 05:59:20 +0200
committerThomas Haller <thaller@redhat.com>2018-06-12 08:09:48 +0200
commite8a197506cf61161397d8f67304d89187ebbd26d (patch)
tree058347307b8809a921e08cecbce95fc8d70a77c0
parentea23010baaff403f228b85c2e5c0d9e409d6e8b9 (diff)
downloadNetworkManager-e8a197506cf61161397d8f67304d89187ebbd26d.tar.gz
client: cli: Fix message in connect callback
https://github.com/NetworkManager/NetworkManager/pull/134
-rw-r--r--clients/cli/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c
index b99e606a96..81f11415d4 100644
--- a/clients/cli/devices.c
+++ b/clients/cli/devices.c
@@ -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