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/trunk@16061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2013-04-25 07:56:59 +00:00
parent 59af92bb8f
commit 34a90f1e78

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;
}