All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 6e0d37ee authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to previous revision.

parent 9f3205c9
......@@ -911,8 +911,9 @@ sub DeleteSlice($)
# Do not allow a paniced slice to be terminated until the panic
# is cleared.
if ($slice_experiment->state() eq EXPTSTATE_PANICED() ||
$slice_experiment->paniced()) {
if (defined($slice_experiment) &&
($slice_experiment->state() eq EXPTSTATE_PANICED() ||
$slice_experiment->paniced())) {
print STDERR "Refusing to terminate a paniced experiment\n";
return GeniResponse->Create(GENIRESPONSE_REFUSED(), undef,
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