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:
jbjohnso 2012-09-16 03:57:03 +00:00
parent 2a241d4e64
commit 1dac16d2ce

View File

@ -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) {