mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 18:30:11 +01:00
cli: fix 'nmcli connection up bond0' being stuck
It can happen on activating a master without slaves. Active connection will not move past activating state.
This commit is contained in:
parent
edcf067266
commit
88efa1c437
1 changed files with 1 additions and 0 deletions
|
|
@ -1818,6 +1818,7 @@ activate_connection_cb (GObject *client, GAsyncResult *result, gpointer user_dat
|
|||
}
|
||||
} else {
|
||||
g_signal_connect (active, "notify::state", G_CALLBACK (active_connection_state_cb), nmc);
|
||||
active_connection_state_cb (active, NULL, nmc);
|
||||
|
||||
/* Start progress indication showing device states */
|
||||
if (nmc->print_output == NMC_PRINT_PRETTY) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue