Make life a little easier on an ad-hoc credentials retrieval client

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-04-15 18:47:58 +00:00
parent 01eb78d7c0
commit 76ff5ead41

View File

@ -108,7 +108,7 @@ sub process_request
open($tmpfile,"/root/.ssh/id_rsa");
@filecontent=<$tmpfile>;
close($tmpfile);
$retdata = join('',@filecontent);
$retdata = "\n".join('',@filecontent);
push @{$rsp->{'data'}},{content=>[$retdata],desc=>[$_]};
$retdata="";
@filecontent=();