Commit 05988dea authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix.

parent 977efcf5
......@@ -2436,12 +2436,12 @@ sub CreateImage($)
return $slice
if (defined($slice) && GeniResponse::IsResponse($slice));
main::AddLogfileMetaDataFromSlice($slice);
if (! (defined($slice) && defined($aggregate))) {
return GeniResponse->Create(GENIRESPONSE_SEARCHFAILED, undef,
"Slice does not exist");
}
main::AddLogfileMetaDataFromSlice($slice);
# If a monitor process is running, we are "busy".
if ($slice->monitor_pid()) {
return GeniResponse->MonitorResponse();
......
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