fixed the issue that error output msg has multiple line
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -602,7 +602,9 @@ sub child_response { | ||||
| 	  		if ($nodename eq $_->{node}->[0]->{name}->[0]) { | ||||
|                 		#save the nodes that has errors for node status monitoring | ||||
|           			if ((exists($_->{errorcode})) && ($_->{errorcode} != 0))  { | ||||
|                         push(@$failed_nodes, $nodename); | ||||
| 					if (!grep /^$nodename$/, @$failed_nodes) { | ||||
| 					    push(@$failed_nodes, $nodename); | ||||
| 					} | ||||
| 					    if( defined( $failed_msg->{$nodename} )) { | ||||
| 					        my $f = $failed_msg->{$nodename};  | ||||
| 					        my $c = scalar(@$f); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user