diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index e2ffd4169..7d5f7283d 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -543,7 +543,7 @@ sub get_site_attribute if ($sitetab) { (my $ref) = $sitetab->getAttribs({key => $attr}, 'value'); - if ($ref and $ref->{value}) + if ($ref) { $values = $ref->{value}; }