diff --git a/src/libteam/patch/0008-libteam-Add-warm_reboot-mode.patch b/src/libteam/patch/0008-libteam-Add-warm_reboot-mode.patch index 52a181d4da6..e62d2df0597 100644 --- a/src/libteam/patch/0008-libteam-Add-warm_reboot-mode.patch +++ b/src/libteam/patch/0008-libteam-Add-warm_reboot-mode.patch @@ -108,11 +108,11 @@ index 9dc85b5..679da49 100644 + teamd_refresh_ports(ctx); + if (ctrl_byte == 'w') + teamd_ports_flush_data(ctx); -+ /* Flush ports to destroy port object */ -+ err = teamd_flush_ports(ctx); -+ if (err) -+ return err; + } ++ ++ err = teamd_flush_ports(ctx); ++ if (err) ++ return err; quit_in_progress = true; continue; case 'r':