From eb7dadcc955a3ea372486da9ef8641e7d1a99657 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 5 Mar 2008 16:57:27 +0000 Subject: [PATCH] Revise noderange fix to allow nodels to work again git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/sbin/xcatd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/sbin/xcatd b/xCAT-server-2.0/sbin/xcatd index 87e3ac42f..75aefe7c1 100755 --- a/xCAT-server-2.0/sbin/xcatd +++ b/xCAT-server-2.0/sbin/xcatd @@ -440,7 +440,7 @@ sub plugin_command { my @nodes; if ($req->{node}) { @nodes = @{$req->{node}}; - } elsif ($req->{noderange}) { + } elsif ($req->{noderange} and $req->{noderange}->[0]) { @nodes = noderange($req->{noderange}->[0]); if (nodesmissed) { my $rsp = {errorcode=>1,error=>"Invalid nodes in noderange:".join(',',nodesmissed)};