From 43fbad64acae6bb0f4e49bf476cf6c05080137d9 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sun, 11 Mar 2012 00:29:52 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/perl/xCAT/Postage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index 7945769c4..79c4ccac0 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -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'})) {