From ec5037d07658c0ddb8f803a5815079dfcba27201 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 26 Nov 2007 19:09:11 +0000 Subject: [PATCH] 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 --- xCAT-server-2.0/usr/lib/xcat/plugins/destiny.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/usr/lib/xcat/plugins/destiny.pm b/xCAT-server-2.0/usr/lib/xcat/plugins/destiny.pm index 5195c8559..d9c215a47 100644 --- a/xCAT-server-2.0/usr/lib/xcat/plugins/destiny.pm +++ b/xCAT-server-2.0/usr/lib/xcat/plugins/destiny.pm @@ -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..