mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 15:50:26 +01:00
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..
This commit is contained in:
parent
0cab530be6
commit
5f66700b4a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue