defined(@array) is deprecated

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-11-30 09:10:48 +00:00
parent 40d3e8e130
commit 1de4c70cec

View File

@ -1139,7 +1139,7 @@ sub rmkit
my $kitcompnames;
my @kitcomphash = $tabs{kitcomponent}->getAllAttribsWhere( "kitname = '$kitname'", 'kitcompname');
if (defined(@entries) && (@entries > 0)) {
if (@entries && (@entries > 0)) {
if($::VERBOSE){
my %rsp;