-Fix monitorctrl problem with non-existant tables

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2384 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-10-23 20:36:42 +00:00
parent c734549c32
commit b46f7a12cf

View File

@ -635,8 +635,12 @@ sub setNodeStatusAttributes {
xCAT::MsgUtils->message("S", "Could not read the nodelist table\n");
}
$tab->close;
$nttab->close;
if ($tab) {
$tab->close;
}
if ($nttab) {
$nttab->close;
}
return 0;
}