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
This commit is contained in:
lissav 2009-09-09 16:49:18 +00:00
parent d3d3dc4597
commit a11cbde49d

View File

@ -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;
}