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/branches/2.6@11222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao
2011-12-13 06:25:14 +00:00
parent e74f245b7b
commit 9714883f52
+1 -1
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}; }