fix bug 3531793: wrong error message in rspconfig cmm initnetwork=*

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-08-20 07:24:02 +00:00
parent 895f3c7673
commit f5f4e1117d

View File

@ -4173,7 +4173,7 @@ sub clicmds {
my $errmsg=$@;
if ($errmsg) {
if ($errmsg =~ /Known_hosts issue/) {
$errmsg = "The entry for $curraddr in known_hosts table is out of date, pls run 'makeknownhosts $curraddr -r' to delete it from known_hosts table.";
$errmsg = "The entry for $mpa in known_hosts table is out of date, pls run 'makeknownhosts $mpa -r' to delete it from known_hosts table.";
push @cfgtext, $errmsg;
return([1, \@unhandled, $errmsg]);
}