make the message better if any table can not be opened

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2010-08-31 02:41:48 +00:00
parent efb2a9b5a4
commit 367f2cd295

View File

@ -200,8 +200,9 @@ sub getobjattrs
my $thistable = xCAT::Table->new($table, -create => 1, -autocommit => 0);
if (!$thistable) {
my $rsp;
$rsp->{data}->[0] = "Could not get the \'$thistable\' table.";
$rsp->{data}->[0] = "Could not open the \'$table\' table.";
xCAT::MsgUtils->message("E", $rsp, $::callback);
next;
}
my @objlist = @{$objtypelist{$objtype}};