From 765c20d6def8587bdcd441f7b6a76d55deab0cac Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 29 Aug 2011 15:37:52 +0000 Subject: [PATCH] fix for defect 3394065 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@10388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/makeknownhosts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/makeknownhosts.pm b/xCAT-server/lib/xcat/plugins/makeknownhosts.pm index edfa0ee03..54c3cf187 100644 --- a/xCAT-server/lib/xcat/plugins/makeknownhosts.pm +++ b/xCAT-server/lib/xcat/plugins/makeknownhosts.pm @@ -248,7 +248,7 @@ sub add_known_host xCAT::MsgUtils->message("E", $rsp, $callback, 1); return 1; } - chop($ip_address); + chomp($ip_address); if (defined $hostname) {