Commit b76782da authored by Christopher Alfeld's avatar Christopher Alfeld
Browse files

Fixed so that cleanup is correct if postassign fails.

parent a6314dd5
......@@ -201,11 +201,10 @@ while {$done == 0} {
unlock
}
outs "!!! If any failures occur from now on run tbend to free up resources."
outs "Syncing database with assignment."
if {[catch "exec $postassign $irFile >@ $logFp 2>@ $logFp" err]} {
outs stderr "Error syncing database. ($err)"
cleanup
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