From 3a3b2c07fc412b5532e2fa37eb5e48fdca3246c6 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 30 Nov 2012 08:56:56 +0000 Subject: [PATCH] defined(%hash) is deprecated git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/TableUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/TableUtils.pm b/perl-xCAT/xCAT/TableUtils.pm index 14b056667..735835834 100644 --- a/perl-xCAT/xCAT/TableUtils.pm +++ b/perl-xCAT/xCAT/TableUtils.pm @@ -1497,7 +1497,7 @@ sub enablessh my ($class, $node) = @_; my $enablessh=1; - if( defined(%::GLOBAL_SN_HASH) ) { + if( %::GLOBAL_SN_HASH ) { if ($::GLOBAL_SN_HASH{$node} == 1) { $enablessh=1; # service nodes always enabled