Commit 81c77bee authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add a call to backup the exp directory when a swapin fails, so there

is something to debug.
parent 6a01f66c
......@@ -846,6 +846,9 @@ sub cleanup()
if ($exptcreated) {
exit(-1)
if (!TBExptIDX($pid, $eid, \$exptidx));
# Before killing it, save off the user directory for debugging.
$experiment->BackupUserData();
system("$endexp -x -q -w $pid $eid");
exit(-1)
......
......@@ -846,6 +846,9 @@ sub cleanup()
if ($exptcreated) {
exit(-1)
if (!TBExptIDX($pid, $eid, \$exptidx));
# Before killing it, save off the user directory for debugging.
$experiment->BackupUserData();
system("$endexp -x -q -w $pid $eid");
exit(-1)
......
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