Skip to content

Commit 2c32ffb

Browse files
committed
kcov: Fix Travis breakage due to missing [[
1 parent cc284d1 commit 2c32ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lib/kcov

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ run_kcov() {
4747

4848
# Somehow kcov exits with a failure status on Travis, even though the tests
4949
# all pass and information is successfully posted to Coveralls.
50-
if "${kcov_argv[@]}" 2>/dev/null || -n "$TRAVIS_JOB_ID" ]]; then
50+
if "${kcov_argv[@]}" 2>/dev/null || [[ -n "$TRAVIS_JOB_ID" ]]; then
5151
if [[ "$send_to_coveralls" == 'false' ]]; then
5252
@go.printf 'Coverage results located in:\n %s\n' \
5353
"$_GO_ROOTDIR/$coverage_dir"

0 commit comments

Comments
 (0)