Commit 2832ea5f authored by Leigh Stoller's avatar Leigh Stoller

Minor fix.

parent 529ae1ba
......@@ -1183,14 +1183,10 @@ sub DoLockdownInternal($$)
my $response = $instance->Lockdown($clear);
if (!defined($response)) {
print STDERR "RPC Error calling Lockdown\n";
# Clear this so we do not think it is locked down for real.
$slice->SetLockdown(0);
return -1;
}
if ($response->code() != GENIRESPONSE_SUCCESS) {
print STDERR "Could not lockdown sliver: ". $response->output() . "\n";
# Clear this so we do not think it is locked down for real.
$slice->SetLockdown(0);
return -1;
}
return 0;
......
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