Skip to content

Commit d625612

Browse files
Show errors and be silent otherwise (#5)
1 parent af9b86d commit d625612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

okapi-hooks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ set -f # no file file glob expansion
66

77
call_curl() {
88
if test -n "${CURL_TOK}"; then
9-
curl -w '\n' -s ${CURL_TOK} $*
9+
curl -w '\n' --show-error --silent ${CURL_TOK} $*
1010
else
11-
curl -w '\n' -s $*
11+
curl -w '\n' --show-error --silent $*
1212
fi
1313
}
1414

0 commit comments

Comments
 (0)