Fix for bug 3298196.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -1286,7 +1286,23 @@ sub dolitesetup
 | 
			
		||||
			#	need to be rebooted
 | 
			
		||||
 | 
			
		||||
			if (-d $SRloc) {
 | 
			
		||||
				my $ccmd = "/bin/cp $statelitetable $litefiletable $litetreetable $instrootloc/aixlitesetup $SRloc";
 | 
			
		||||
			    my $ccmd = "/bin/cp";
 | 
			
		||||
			    if (-e $statelitetable)
 | 
			
		||||
			    {
 | 
			
		||||
			        $ccmd .= " $statelitetable";
 | 
			
		||||
			    }
 | 
			
		||||
 | 
			
		||||
			    if (-e $litefiletable)
 | 
			
		||||
			    {
 | 
			
		||||
			        $ccmd .= " $litefiletable";
 | 
			
		||||
			    }
 | 
			
		||||
 | 
			
		||||
			    if (-e $litetreetable)
 | 
			
		||||
			    {
 | 
			
		||||
			        $ccmd .= " $litetreetable";
 | 
			
		||||
			    }
 | 
			
		||||
			    
 | 
			
		||||
			    $ccmd .= " $instrootloc/aixlitesetup $SRloc";
 | 
			
		||||
				my $out = xCAT::Utils->runcmd("$ccmd", -1);
 | 
			
		||||
				if ($::RUNCMD_RC != 0)
 | 
			
		||||
				{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user