fix for bug 3526 - remove litetree.table from inst_root for the update.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2013-04-25 07:54:06 +00:00
parent 37234b42cc
commit 6410db445d

View File

@ -893,12 +893,12 @@ sub dolitesetup
}
}
if (-e $litetreetab) {
my $rc = xCAT::Utils->runcmd("rm $litetreetab", -1);
if (-e $litetreetable) {
my $rc = xCAT::Utils->runcmd("rm $litetreetable", -1);
if ($::RUNCMD_RC != 0)
{
my $rsp;
push @{$rsp->{data}}, "Could not remove existing $litetreetab file.";
push @{$rsp->{data}}, "Could not remove existing $litetreetable file.";
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}