]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Avoid squashing errors during network startup cleanup path
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 26 Oct 2010 10:17:25 +0000 (11:17 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 26 Oct 2010 15:05:09 +0000 (16:05 +0100)
commitd68bb70a2d606b7206e78c360cbd4cf62b070493
tree2e4741d3b0ab15311f77569fa44555510f86e1a0
parentd88a0496fd45a6649e6c205ece2c1e71a5ea7811
Avoid squashing errors during network startup cleanup path

When failing to start a virtual network, we have to cleanup,
tearing down any iptables rules. If the iptables rules were
not present yet though, this raises an error, which squashes
the original error we were handling.

* src/network/bridge_driver.c: When failing to start a virtual
  network, don't squash the original error in cleanup
src/network/bridge_driver.c