mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +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:
parent
32ba5815ee
commit
b4ee0f22d0
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"`
|
||||
[ -n "$H" ] && err=1
|
||||
fi
|
||||
echo "+++ error: $err" | tee -a $outf
|
||||
[ $err != 0 ] && echo "+++ error: $err" | tee -a $outf
|
||||
rm -f $outf
|
||||
|
||||
errMsg=`cat $errf`
|
||||
|
Loading…
Reference in New Issue
Block a user