From 8cf5bb0f8499d1d54bf1136b74c5123cb021dc1f Mon Sep 17 00:00:00 2001 From: sakolish Date: Tue, 20 May 2008 18:32:47 +0000 Subject: [PATCH] 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 --- xCAT-server-2.0/lib/xcat/plugins/blade.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/blade.pm b/xCAT-server-2.0/lib/xcat/plugins/blade.pm index 60d4c8131..a4b087d63 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/blade.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/blade.pm @@ -1239,7 +1239,7 @@ sub build_depend { my %mpa_hash; if (!defined($depstab)) { - return(\%dp); + return([\%dp]); } unless ($mptab) { return("Cannot open mp table");