mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-03 03:08:05 +02:00
cli: connection: check for warnings after "modify"
Run the same checks after "nmcli c modify" as we do for "nmcli c add". That is -- warn if the resulting connection has a connection ID collision.
This commit is contained in:
parent
b3f79ac366
commit
061c342474
1 changed files with 2 additions and 0 deletions
|
|
@ -8897,6 +8897,8 @@ modify_connection_cb(GObject *connection, GAsyncResult *result, gpointer user_da
|
|||
error->message);
|
||||
nmc->return_value = NMC_RESULT_ERROR_UNKNOWN;
|
||||
} else {
|
||||
connection_warnings(nmc, NM_CONNECTION(connection));
|
||||
|
||||
if (nmc->nmc_config.print_output == NMC_PRINT_PRETTY) {
|
||||
g_print(_("Connection '%s' (%s) successfully modified.\n"),
|
||||
nm_connection_get_id(NM_CONNECTION(connection)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue