mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 19:10:17 +01:00
manager: keep device if realize() fails
system_create_virtual_device() first creates the device (unrealized) and then, if there a connection for the device with autoconnect=yes, creates the backing resources. If this last step fails the device should continue to exist, even if in an unrealized state. https://bugzilla.redhat.com/show_bug.cgi?id=1686634
This commit is contained in:
parent
4bc4156424
commit
f07aa329b2
1 changed files with 0 additions and 1 deletions
|
|
@ -2032,7 +2032,6 @@ system_create_virtual_device (NMManager *self, NMConnection *connection)
|
|||
"couldn't create the device: %s",
|
||||
error->message);
|
||||
g_error_free (error);
|
||||
remove_device (self, device, FALSE);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue