diff --git a/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm b/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm index cea5efe33..da5b1e1a9 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm @@ -726,7 +726,7 @@ sub tabgrep foreach (@tablist) { my $tab = xCAT::Table->new($_); - if ($tab->getNodeAttribs($node->[0], ["node"])) + if ($tab and $tab->getNodeAttribs($node->[0], ["node"])) { $callback->({data => [$_]}); }