Commit 0f746e22 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Unlock experiment record when batch start fails. In normal mode, the

record is killed and it does not matter.
parent 7251ee10
......@@ -390,9 +390,11 @@ sub fatal()
}
#
# In batch mode, exit.
# In batch mode, exit. Must unlock the experiment since the record
# is kept by the batch system until it is finished or canceled.
#
if ($batch) {
TBUnLockExp($pid, $eid);
exit($errorstat);
}
......
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