Commit 8de31238 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 647ae86a
......@@ -734,7 +734,8 @@ sub DeleteSlice($)
return GeniResponse->MonitorResponse();
}
# If any slivers are imaging, then we are busy as well.
if ($aggregate->CheckSliverStates("imaging")) {
if (defined($aggregate) &&
$aggregate->CheckSliverStates("imaging")) {
$slice->UnLock();
return GeniResponse->BusyResponse();
}
......
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