From a11cbde49d0d38fe761eaa92357a3d794a9ade23 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 9 Sep 2009 16:49:18 +0000 Subject: [PATCH] add message when public key is missing in the .ssh directory during xdsh -K git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index d8a6a7fb1..7a1343968 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -1486,6 +1486,8 @@ sub cpSSHFiles || !(-e "$home/.ssh/id_rsa.pub") || !(-e "$home/.ssh/id_dsa.pub")) { + $rsp->{data}->[0] = "A public key was missing in the .ssh directory."; + xCAT::MsgUtils->message("E", $rsp, $::CALLBACK); return 1; }