summaryrefslogtreecommitdiff
path: root/clients/cli/connections.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-09-20 16:06:40 +0200
committerThomas Haller <thaller@redhat.com>2018-09-20 16:06:42 +0200
commit5f66700b4aa22f3cd8514e9bdc7883bca523ace0 (patch)
tree08b3a784e360adfd9981bbb46c14500bcec236c1 /clients/cli/connections.c
parent0cab530be6f14e5a4895b326d5dae930c1d62334 (diff)
downloadNetworkManager-5f66700b4aa22f3cd8514e9bdc7883bca523ace0.tar.gz
cli: adjust error message about incompatible connection/device
# nmcli connection up w ifname w Error: device 'w' not compatible with connection 'w':The connection was not an Ethernet or PPPoE connection..
Diffstat (limited to 'clients/cli/connections.c')
-rw-r--r--clients/cli/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c
index 0309dc3cfa..eae50afc39 100644
--- a/clients/cli/connections.c
+++ b/clients/cli/connections.c
@@ -2287,7 +2287,7 @@ find_device_for_connection (NmCli *nmc,
continue;
if (!nm_device_connection_compatible (dev, connection, error)) {
- g_prefix_error (error, _("device '%s' not compatible with connection '%s':"),
+ g_prefix_error (error, _("device '%s' not compatible with connection '%s': "),
iface, nm_setting_connection_get_id (s_con));
return FALSE;
}