fix bug 3458828: rscan has error massege if no user and passwd.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2011-12-13 07:18:30 +00:00
parent cab3b46e26
commit 0ace8ed915

View File

@ -814,7 +814,7 @@ sub credentials {
}
else
{
($ent) = $tab->getNodesAttribs( $defaultgrp{$hwtype}, qw(username password));
($ent) = $tab->getNodeAttribs( $defaultgrp{$hwtype}, qw(username password));
}
if ( $ent){
if (defined($ent->{password})) { $pass = $ent->{password}; }