mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 10:18:03 +02:00
connections: Don't give up if we've not seen an active connection yet
It will appear later on. https://bugzilla.redhat.com/show_bug.cgi?id=1149200
This commit is contained in:
parent
42b9e82839
commit
5aa93e5518
1 changed files with 1 additions and 1 deletions
|
|
@ -1736,7 +1736,7 @@ device_state_cb (NMDevice *device, GParamSpec *pspec, gpointer user_data)
|
|||
g_print (_("Connection successfully activated (master waiting for slaves) (D-Bus active path: %s)\n"),
|
||||
nm_object_get_path (NM_OBJECT (active)));
|
||||
quit ();
|
||||
} else if (ac_state != NM_ACTIVE_CONNECTION_STATE_ACTIVATING) {
|
||||
} else if (active && ac_state != NM_ACTIVE_CONNECTION_STATE_ACTIVATING) {
|
||||
g_string_printf (nmc->return_text, _("Error: Connection activation failed."));
|
||||
nmc->return_value = NMC_RESULT_ERROR_CON_ACTIVATION;
|
||||
quit ();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue