Commit ac51789b authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent aea0f297
......@@ -1577,7 +1577,7 @@ sub GenerateStatusBlob($)
my $node = Node->LookupSync($resource_id);
if (!defined($node)) {
print STDERR "Could not map node $resource_id to its object\n";
return -1;
return undef;
my ($nodestatus) = $node->GetStatus() || "unknown";
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