Allow nodeset install to do the right thing even if no chain specified

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@76 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2007-11-26 19:09:11 +00:00
parent eaa59e55c0
commit ec5037d076

View File

@ -143,7 +143,7 @@ sub nextdestiny {
return; #nothing to do...
}
my $ref = $chaintab->getNodeAttribs($node,[qw(currstate currchain chain)]);
unless ($ref->{chain}) {
unless ($ref->{chain} or $ref->{currchain}) {
syslog ("local1|err","ERROR: node requested destiny update, no path in chain.currchain");
$chaintab->close;
return; #Can't possibly do anything intelligent..