[patch NetworkManager 09/11] nm-manager: fix goto in system_create_virtual_device() in team section



Signed-off-by: Jiri Pirko <jiri resnulli us>
---
 src/nm-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nm-manager.c b/src/nm-manager.c
index efcde4a..8c1040c 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -1338,7 +1338,7 @@ system_create_virtual_device (NMManager *self, NMConnection *connection)
                    && nm_platform_get_error () != NM_PLATFORM_ERROR_EXISTS) {
                        nm_log_warn (LOGD_DEVICE, "(%s): failed to add team master interface for '%s'",
                                     iface, nm_connection_get_id (connection));
-                       goto out;
+                       goto unblock;
                }
 
                device = nm_device_team_new (iface);
-- 
1.8.3.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]