Weaken Postage.pm requirement of PPCdb

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-03-11 00:29:52 +00:00
parent eb13fe149e
commit 43fbad64ac

View File

@ -322,7 +322,7 @@ sub makescript
# $passwdtab->getAttribs({key => 'system', username => 'root'},
# 'password', 'cryptmethod');
{
use xCAT::PPCdb qw(get_usr_passwd);
require xCAT::PPCdb;
my $et = xCAT::PPCdb::get_usr_passwd('system', 'root');
if ($et and defined($et->{'password'}))
{