In accordance with previous change, always act as if logout completed successfully without checking the result
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2a241d4e64
commit
1dac16d2ce
@ -161,8 +161,13 @@ sub logout {
|
||||
}
|
||||
$self->{noretry}=1;
|
||||
$self->subcmd(netfn=>0x6,command=>0x3c,data=>$self->{sessionid},callback=>\&logged_out,callback_args=>$self);
|
||||
$self->{logged}=0; #seeing as how we are going to take it on faith the logout happened, do the callback now
|
||||
if ( $self->{onlogout}) {
|
||||
$self->{onlogout}->("SUCCESS",$self->{onlogout_args});
|
||||
}
|
||||
}
|
||||
sub logged_out {
|
||||
return;
|
||||
my $rsp = shift;
|
||||
my $self = shift;
|
||||
if (defined $rsp->{code} and $rsp->{code} == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user