-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:
parent
c734549c32
commit
b46f7a12cf
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user