Commit 0054f55e authored by Leigh B Stoller's avatar Leigh B Stoller

Do not send a TBFAILED if container exits without error.

parent df048b11
......@@ -452,7 +452,8 @@ if ($dojail) {
cleanup();
exit(0);
}
$cleanupstate = "TBFAILED";
$cleanupstate = "TBFAILED"
if ($jstat);
fatal("Jail exited unexpectedly with status $jstat!");
}
else {
......
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