Commit b081e4fb authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix minor bug that was causing tbswap to return bad exit code, that

swapexp took to mean the experiment was swapped. I hate 8 bits of
status!
parent 0e328b22
......@@ -545,7 +545,7 @@ sub doSwapin($) {
# save this off so it will get passed back later.
# Note that -1 is an uncontrolled error. No recovery.
#
$assignWrapperErrorCode = $?;
$assignWrapperErrorCode = $? >> 8;
$exitcode = $? >> 8;
print STDERR "*** Failed ($exitcode) to map to reality.\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