mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	Make sh2ju not print 'error: 0' lines.
They cause false positives on Gubernator when it's looking for error reasons.
This commit is contained in:
		
							
								
								
									
										2
									
								
								third_party/forked/shell2junit/sh2ju.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								third_party/forked/shell2junit/sh2ju.sh
									
									
									
									
										vendored
									
									
								
							@@ -113,7 +113,7 @@ function juLog() {
 | 
				
			|||||||
      H=`echo "$out" | egrep $icase "$ereg"`
 | 
					      H=`echo "$out" | egrep $icase "$ereg"`
 | 
				
			||||||
      [ -n "$H" ] && err=1
 | 
					      [ -n "$H" ] && err=1
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  echo "+++ error: $err"         | tee -a $outf
 | 
					  [ $err != 0 ] && echo "+++ error: $err"         | tee -a $outf
 | 
				
			||||||
  rm -f $outf
 | 
					  rm -f $outf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  errMsg=`cat $errf`
 | 
					  errMsg=`cat $errf`
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user