diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2019-08-29 16:46:33 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2019-09-03 16:53:04 +0200 |
commit | f07aa329b20544c8ae2885c6a468e5670b687397 (patch) | |
tree | 01fe9f6cd9863d78bc7ae7dcefc7eaa3a8346193 | |
parent | 4bc415642495a492aba2eccfc3e16b1da34df287 (diff) | |
download | NetworkManager-f07aa329b20544c8ae2885c6a468e5670b687397.tar.gz |
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
-rw-r--r-- | src/nm-manager.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c index 311bb68dd9..f6ef66bb21 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -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; } |