Commit 7aa4569f authored by Leigh B Stoller's avatar Leigh B Stoller

Use DoIPtablesNoFail() when tearing down VMs, kill as many rules

as possible since we never know that this script exists with failure
on teardown.
parent df27ac54
......@@ -468,7 +468,7 @@ sub Offline()
"--to-destination $host_ip:$local_tmcd_port");
# Apply the rules
if (DoIPtables(@rules) != 0) {
if (DoIPtablesNoFail(@rules) != 0) {
print STDERR "WARNING: could not remove iptables rules\n";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment