Commit 117147ce authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor fix.

parent 1e73425b
......@@ -867,8 +867,9 @@ sub UnProvision($)
if (!defined($uuid));
my $node = Node->Lookup($uuid);
if (!defined($node)) {
# Lets call this nonfatal since it might be a virtnode that
print STDERR "Could not map node $uuid to its object\n";
return -1;
return 0;
my $reservation = $node->Reservation();
if (!defined($reservation)) {
Supports Markdown
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