Fix tabgrep to not BUG on non-existant tables second attempt

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-03-05 19:04:11 +00:00
parent b71e85dd4f
commit 7a144eb755

View File

@ -726,6 +726,7 @@ sub tabgrep
foreach (@tablist)
{
my $tab = xCAT::Table->new($_);
unless ($tab) { next; }
if ($tab and $tab->getNodeAttribs($node->[0], ["node"]))
{
$callback->({data => [$_]});