build_depend() should return array reference on empty table - Line #1242

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2008-05-20 18:32:47 +00:00
parent 9af42aeca5
commit 8cf5bb0f84

View File

@ -1239,7 +1239,7 @@ sub build_depend {
my %mpa_hash;
if (!defined($depstab)) {
return(\%dp);
return([\%dp]);
}
unless ($mptab) {
return("Cannot open mp table");