add msg to rmdsklsnode for missing noderange

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2011-01-17 19:23:04 +00:00
parent 95e5fbfa0f
commit 46ebf770e1

View File

@ -9515,6 +9515,15 @@ sub prermdsklsnode
last;
}
}
if (scalar(@nodelist) == 0) {
my $rsp;
push @{$rsp->{data}}, "A noderange is required.\n";
xCAT::MsgUtils->message("E", $rsp, $callback);
&rmdsklsnode_usage($callback);
return 2;
}
return (0, \@nodelist, $type);
}