Have Table.pm properly bail out in the event of a bug

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-04-24 19:17:43 +00:00
parent 8957491f43
commit 2192a7602d

View File

@ -204,6 +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($currcon);
};
}
}