aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvm-manager2
1 files changed, 2 insertions, 0 deletions
diff --git a/kvm-manager b/kvm-manager
index e14df40..1bdf74f 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -137,9 +137,11 @@ EOF
}
down() {
+ set +e
brctl delif "$BRIDGE" "$TAP"
ip link set "$TAP" down
ip tuntap del mode tap dev "$TAP"
+ set -e
# no need to lock up the block device as well, since the owner might
# prefer to manipulate the disk directly.
}