From 5b1e52e40f04d81c61fc15bf26e09e759cc25dbd Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 27 Jun 2008 14:11:52 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/ipmi.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index 08ccfc13d..f0dd9843d 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -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");