-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:
jbjohnso 2008-06-27 14:11:52 +00:00
parent c1ff510fe4
commit 5b1e52e40f

View File

@ -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");