2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 12:20:40 +00:00

-Fix problems where destroyed domains would be queried incorrectly

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso
2009-04-13 13:16:58 +00:00
parent dfec5246f8
commit 640f050de6

View File

@ -607,6 +607,7 @@ sub power {
} elsif ($subcommand eq 'off') {
if ($dom) {
$dom->destroy();
undef $dom;
} else { $retstring .= "$status_noop"; }
} elsif ($subcommand eq 'softoff') {
if ($dom) {
@ -615,6 +616,7 @@ sub power {
} elsif ($subcommand eq 'reset') {
if ($dom) {
$dom->destroy();
undef $dom;
($dom,$errstr) = makedom($node,$cdloc);
if ($errstr) { return (1,$errstr); }
$retstring.="reset";