Skip to content

Commit

Permalink
Update reconfigure-rc-bird2.sh to add curl --fail to the success call…
Browse files Browse the repository at this point in the history
…back
  • Loading branch information
barryo authored Jun 16, 2024
1 parent da32267 commit 81f57c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/runtime/route-collectors/reconfigure-rc-bird2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ for handle in $HANDLES; do
### Tell IXP Manager that the config is complete and release the lock

# tell IXP Manager the router has been updated:
cmd="curl -s -X POST -H \"X-IXP-Manager-API-Key: ${APIKEY}\" ${URL_DONE}/${handle} >/dev/null"
cmd="curl --fail -s -X POST -H \"X-IXP-Manager-API-Key: ${APIKEY}\" ${URL_DONE}/${handle} >/dev/null"
if [[ $DEBUG -eq 1 ]]; then echo $cmd; fi

until eval $cmd; do
Expand Down

0 comments on commit 81f57c2

Please sign in to comment.