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:
parent
9af42aeca5
commit
8cf5bb0f84
@ -1239,7 +1239,7 @@ sub build_depend {
|
||||
my %mpa_hash;
|
||||
|
||||
if (!defined($depstab)) {
|
||||
return(\%dp);
|
||||
return([\%dp]);
|
||||
}
|
||||
unless ($mptab) {
|
||||
return("Cannot open mp table");
|
||||
|
Loading…
Reference in New Issue
Block a user