mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
sh2ju.sh: suppress which
command output when gdate not found in $PATH.
This commit is contained in:
2
third_party/forked/shell2junit/sh2ju.sh
vendored
2
third_party/forked/shell2junit/sh2ju.sh
vendored
@@ -59,7 +59,7 @@ function juLogClean() {
|
||||
function juLog() {
|
||||
suite="";
|
||||
errfile=/tmp/evErr.$$.log
|
||||
date=`which gdate || which date`
|
||||
date=`which gdate 2>/dev/null || which date`
|
||||
asserts=00; errors=0; total=0; content=""
|
||||
|
||||
# parse arguments
|
||||
|
Reference in New Issue
Block a user