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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user