Skip to content

Commit d7f87fc

Browse files
committed
Remove shellcheck false positive error
1 parent ed9b3f2 commit d7f87fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: postgres-appliance/scripts/patroni_wait.sh

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ if [ $# -gt 0 ]; then
8585
options="$options --cacert $SSL_RESTAPI_CA_FILE"
8686
fi
8787

88+
# shellcheck disable=SC2086
8889
while [ "$(curl -so /dev/null -w '%{http_code}' $options "$protocol://localhost:$PORT/$ROLE")" != "200" ]; do
8990
[ -n "$TIMEOUT" ] && [ "$CUTOFF" -le "$(date +%s)" ] && exit 2
9091
sleep "$INTERVAL"

0 commit comments

Comments
 (0)