diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index 5fad3bb92..9138d0367 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -204,8 +204,8 @@ sub init_dbworker { eval { #avoid hang by allowin client to die too print $currcon "*XCATBUGDETECTED*:$err:*XCATBUGDETECTED*\n"; print $currcon "*XCATBUGDETECTED*76e9b54341\n"; - $clientset->remove($currconn); - close($currconn); + $clientset->remove($currcon); + close($currcon); }; } }