about summary refs log tree commit diff
path: root/src/devices/team
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2020-08-31 11:11:14 +0200
committerSebastien Bacher <seb128@ubuntu.com>2020-08-31 11:11:14 +0200
commitbbb262bfd5200313834db8fb36b7fb20aa0913b5 (patch)
tree70fad3f1f44bb7299dd1f5f376a6b8483a023136 /src/devices/team
parent6e17a2e7ad9453c0afe34dab0e6768ad8ee447c2 (diff)
parent9d722f3d3492e31c0b3e4bcba603ffd65309c621 (diff)
Merge remote-tracking branch 'salsa/debian/master' into ubuntu/master
Diffstat (limited to 'src/devices/team')
-rw-r--r--src/devices/team/nm-device-team.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/team/nm-device-team.c b/src/devices/team/nm-device-team.c
index 217c4bdd..7ba30342 100644
--- a/src/devices/team/nm-device-team.c
+++ b/src/devices/team/nm-device-team.c
@@ -371,6 +371,7 @@ teamd_ready (NMDeviceTeam *self)
 		success = teamd_read_config (self);
 
 	if (!success) {
+		teamd_cleanup (self, TRUE);
 		nm_device_state_changed (device, NM_DEVICE_STATE_FAILED, NM_DEVICE_STATE_REASON_TEAMD_CONTROL_FAILED);
 		return;
 	}