Add \n to two message so that we would get a line feed when

displayed.  "Invalid nodes in noderange".

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2007-12-05 18:52:17 +00:00
parent c15ee20511
commit 1314be0e0e

View File

@ -197,7 +197,7 @@ sub plugin_command {
@nodes = noderange($req->{noderange}->[0]);
if (nodesmissed) {
# my $rsp = {errorcode=>1,error=>"Invalid nodes in noderange:".join(',',nodesmissed)};
print "Invalid nodes in noderange:".join(',',nodesmissed);
print "Invalid nodes in noderange:".join(',',nodesmissed)."\n";
# if ($sock) {
# print $sock XMLout($rsp,RootName=>'xcatresponse' ,NoAttr=>1);
# }
@ -350,7 +350,7 @@ sub do_request {
my @nodes = noderange($req->{noderange}->[0]);
my %resp;
if (nodesmissed) {
$resp{warning}="Invalid nodes in noderange:".join ',',nodesmissed;
$resp{warning}="Invalid nodes in noderange:".join ',',nodesmissed ."\n";
}
$resp{serverdone} = {};
@{$resp{node}}=@nodes;