mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	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/trunk@13812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -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) {  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user