-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:
parent
c1ff510fe4
commit
5b1e52e40f
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user