diff --git a/perl-xCAT/xCAT/PPCdb.pm b/perl-xCAT/xCAT/PPCdb.pm index 91c347005..52bc3a804 100644 --- a/perl-xCAT/xCAT/PPCdb.pm +++ b/perl-xCAT/xCAT/PPCdb.pm @@ -1167,7 +1167,7 @@ sub read_from_table { my %typehash; my %iphash; my %vpdhash; - if ( !defined(%::OLD_DATA_CACHE)) + if ( !(%::OLD_DATA_CACHE)) { # find out all the existed nodes' ipaddresses my $hoststab = xCAT::Table->new('hosts');