From 76ff5ead4113d12b522016616bfa11935284a763 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 15 Apr 2008 18:47:58 +0000 Subject: [PATCH] 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 --- xCAT-server-2.0/lib/xcat/plugins/credentials.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/credentials.pm b/xCAT-server-2.0/lib/xcat/plugins/credentials.pm index bd9bdfc0d..b3c9490d9 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/credentials.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/credentials.pm @@ -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=();