diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2014-10-08 17:17:53 +0200 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-10-19 09:26:34 -0400 |
commit | 88efa1c4376b7fc55bf2ba9bf74ddbecb4ed5075 (patch) | |
tree | 64c1c05e78db104153be96bd26624991f9e3da5b | |
parent | edcf067266e19fd382c367bb54567bf2c2d8aac9 (diff) | |
download | NetworkManager-88efa1c4376b7fc55bf2ba9bf74ddbecb4ed5075.tar.gz |
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.
-rw-r--r-- | clients/cli/connections.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 301b4c2354..3d1245efbf 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -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) { |