diff --git a/third_party/forked/shell2junit/sh2ju.sh b/third_party/forked/shell2junit/sh2ju.sh index 8a4c027eaba..f5f7ec4aa93 100755 --- a/third_party/forked/shell2junit/sh2ju.sh +++ b/third_party/forked/shell2junit/sh2ju.sh @@ -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