From 881d61a68a8f1f35b247fa438c9e6aacd13e1676 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 30 Nov 2012 09:11:34 +0000 Subject: [PATCH] defined(%hash) is deprecated git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/lsslp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index bc6b7be61..16980997e 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -720,7 +720,7 @@ sub read_from_table { my %ppchash; my %iphash; - if ( !defined(%::OLD_DATA_CACHE)) + if ( !(%::OLD_DATA_CACHE)) { #find out all the existed nodes my $nodelisttab = xCAT::Table->new('nodelist');