Commit 117147ce authored by Leigh Stoller's avatar Leigh Stoller

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)) {
......
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