fixed bug 3393278, for rflash, if node node/noderange specified, the noderange will be set to the <dir>. add one condition

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@10424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua
2011-09-01 05:28:27 +00:00
parent b4d4194323
commit 41e579fcd1
+5
View File
@@ -319,6 +319,11 @@ sub plugin_command {
unless (@nodes) {
$req->{emptynoderange} = [1];
}
if(@nodes == 0 ) {
print "No nodes or noderanges specified\n";
return 1;
}
}
if (@nodes) { $req->{node} = \@nodes; }
my %unhandled_nodes;