]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/API2/Qemu.pm
do not ignore errors on tap_unplug
[qemu-server.git] / PVE / API2 / Qemu.pm
index e7d49d9b503357bf9b4d7623e25f2163206284b8..ca8cdd516b05c40f8242bc7f503f4ad5fd7829a4 100644 (file)
@@ -839,7 +839,7 @@ my $vmconfig_update_net = sub {
                }
 
                if(($newnet->{bridge} ne $oldnet->{bridge}) || ($newnet->{tag} ne $oldnet->{tag}) || ($newnet->{firewall} ne $oldnet->{firewall})){
-                   eval{PVE::Network::tap_unplug($iface, $oldnet->{bridge}, $oldnet->{tag}, $oldnet->{firewall});};
+                   PVE::Network::tap_unplug($iface);
                    PVE::Network::tap_plug($iface, $newnet->{bridge}, $newnet->{tag}, $newnet->{firewall});
                }