From 1dac16d2cef089e96d0ae9dd5775dc6a7d88e68c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sun, 16 Sep 2012 03:57:03 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/perl/xCAT/IPMI.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/IPMI.pm b/xCAT-server/lib/perl/xCAT/IPMI.pm index 329c19916..9cdcab94a 100644 --- a/xCAT-server/lib/perl/xCAT/IPMI.pm +++ b/xCAT-server/lib/perl/xCAT/IPMI.pm @@ -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) {