Commit ebdff502 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix.

parent e63fa5e9
......@@ -336,11 +336,13 @@ sub GetManifests()
foreach my $resource (@resources) {
$resource->GetManifest($this_user) == 0
or fatal("Could not clear resources from $resource");
or fatal("Could not get manifest for $resource");
my $manifest = $resource->Manifest();
return -1
if (!defined($manifest));
if (!defined($manifest)) {
print STDERR "No manifest for $resource\n";
next;
}
print STDERR Dumper($manifest);
}
......@@ -356,7 +358,7 @@ sub GetStatus()
my $ref;
$resource->SliverStatus($this_user, \$ref) == 0
or fatal("Could not clear resources from $resource");
or fatal("Could not get status for $resource");
print STDERR Dumper($ref);
}
......
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