mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Merge pull request #1301 from chenglch/kvmerrormsg
Change the ref type of errorcode in xcmdoutput to array
This commit is contained in:
		| @@ -3987,7 +3987,7 @@ sub dohyp { | ||||
|             } | ||||
|             $text =~ s/^\s+//; | ||||
|             $text =~ s/\s+$//; | ||||
|             $output{node}->[0]->{errorcode} = $rc; | ||||
|             $output{node}->[0]->{errorcode} = [$rc]; | ||||
|             $output{node}->[0]->{name}->[0] = $node; | ||||
|             if ($rc == 0) { | ||||
|                 $output{node}->[0]->{data}->[0]->{contents}->[0] = $text; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user