Commit 6b8feb22 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix.

parent 1439c354
......@@ -536,8 +536,15 @@ if (-e "$VNDIR/") {
if ($teardown) {
TearDownStaleVM() == 0
or fatal("Could not tear down stale container");
if (TearDownStaleVM()) {
# This really sucks. We have to be careful that the caller
# (vnodesetup) does not remove the data directory, or else
# we will not be able to come back here next time for cleanup.
print STDERR "Could not tear down stale container\n";
# See MOUNTED case above; we set leaveme to keep the container
# file systems, but must reset leaveme.
$leaveme = 0;
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