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:
Jiří Klimeš 2014-10-08 17:17:53 +02:00 committed by Dan Winship
parent edcf067266
commit 88efa1c437

View file

@ -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) {