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:
parent
01eb78d7c0
commit
76ff5ead41
@ -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=();
|
||||
|
Loading…
Reference in New Issue
Block a user