diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 2979c63cd..cf5a51d5d 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -1681,8 +1681,6 @@ sub GetMasterNodeName { xCAT::MsgUtils->message('S', "Unable to open noderes or nodetype table.\n"); - $noderestab->close; - $typetab->close; return 1; } my $sitetab = xCAT::Table->new('site');