From ab819e494dd9291d7a4ea78225a0eb1897ff4203 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 20 Nov 2008 13:23:16 +0000 Subject: [PATCH] remove invalid close of table on error path when tables failed to open git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 2 -- 1 file changed, 2 deletions(-) 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');