minor fix for getNodesetStates in pxe and yaboot

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2012-03-29 22:15:52 +00:00
parent f42e832599
commit 4e5597ce72
2 changed files with 2 additions and 2 deletions

View File

@ -634,7 +634,7 @@ sub getNodesetStates {
} else {
$tftpdir = $globaltftpdir;
}
my $tmp=getstate($node);
my $tmp=getstate($node, $tftpdir);
my @a=split(' ', $tmp);
$stat = $a[0];
if (exists($hashref->{$stat})) {

View File

@ -607,7 +607,7 @@ sub getNodesetStates {
} else {
$tftpdir = $globaltftpdir;
}
my $tmp=getstate($node);
my $tmp=getstate($node, $tftpdir);
my @a=split(' ', $tmp);
$stat = $a[0];
if (exists($hashref->{$stat})) {