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

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-08-20 07:26:39 +00:00
parent 940b7aef40
commit e2e4361957

View File

@ -4247,7 +4247,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]);
}