Commit ef579c2a authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix to firewall teardown code.

parent 234e86ce
......@@ -653,9 +653,11 @@ sub doSwapout($) {
# Non-firewalled experiments can now be paniced, and the swapout
# action is similar.
#
if ($firewalled && undoFWNodes($experiment)) {
tblog_set_cleanup(0);
return 1;
if ($firewalled) {
if (undoFWNodes($experiment)) {
tblog_set_cleanup(0);
return 1;
}
}
elsif ($experiment->paniced() &&
Firewall::Panic($experiment, 0, Firewall::PANIC_ZAP())) {
......
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