mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-24 05:11:12 +00:00
-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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user