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