defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
27a31e9031
commit
3a3b2c07fc
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user