Commit db65abc6 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Do not not swapout a failed elabinelab swapmod; its really annoying

to lose your elab cause of a swap problem!
parent 77dfb2fd
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2009 University of Utah and the Flux Group.
# Copyright (c) 2000-2010 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -308,7 +308,7 @@ elsif ($swapop eq "update" || $swapop eq "modify") {
#
# Clean up the mess, leaving the experiment in the SWAPPED state,
#
if ($noswapout) {
if ($noswapout || $elabinelab) {
print STDERR "Leaving experiment swapped in as directed.\n";
}
else {
......@@ -364,7 +364,7 @@ elsif ($swapop eq "update" || $swapop eq "modify") {
# exit status indicated by $updatehosed.
#
if (!$CanRecover) {
if ($noswapout) {
if ($noswapout || $elabinelab) {
print STDERR
"No Recovery, but leaving experiment swapped in.\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