Skip to content

Commit 09318f9

Browse files
committed
chore: show an error message if curl fails
1 parent ed1abcb commit 09318f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/installation/test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ ONEX_PUMP_ADDR=${ONEX_ACCESS_HOST}:${ONEX_PUMP_HEALTH_CHECK_PORT}
1717
ONEX_TOYBLC_ADDR=${ONEX_ACCESS_HOST}:${ONEX_TOYBLC_HTTP_PORT}
1818

1919
Header="-HContent-Type:application/json"
20-
CURLARGS="-f -s"
21-
#CURLARGS=""
20+
CURLARGS="-S"
2221
CCURL="curl ${CURLARGS} -XPOST ${Header}" # Create
2322
UCURL="curl ${CURLARGS} -XPUT ${Header}" # Update
2423
RCURL="curl ${CURLARGS} -XGET" # Retrieve

0 commit comments

Comments
 (0)