mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	-Fix problem where session to BMCs were not being closed on power reset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -537,7 +537,7 @@ sub ipmicmd { | ||||
| 		} | ||||
| 		elsif($subcommand eq "reset") { | ||||
| 			($rc,$text) = power("reset"); | ||||
| 			$noclose = 1; | ||||
| 			$noclose = 0; | ||||
| 		} | ||||
| 		elsif($subcommand eq "cycle") { | ||||
| 			my $text2; | ||||
| @@ -567,7 +567,7 @@ sub ipmicmd { | ||||
| 			if($rc == 0) { | ||||
| 				if($text eq "on") { | ||||
| 					($rc,$text2) = power("reset"); | ||||
| 					$noclose = 1; | ||||
| 					$noclose = 0; | ||||
| 				} | ||||
| 				elsif($text eq "off") { | ||||
| 					($rc,$text2) = power("on"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user