Skip to content

Commit 6f6156a

Browse files
kaleb-himesCopilot
andauthored
Update scripts/openssl_srtp.test
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 10874ae commit 6f6156a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/openssl_srtp.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ generate_port() {
5454

5555
[ $collision -eq 0 ] && break
5656

57-
((attempts++))
57+
attempts=$((attempts + 1))
5858
if [ $attempts -ge 100 ]; then
5959
echo "ERROR: generate_port could not find a free port after 100 attempts"
6060
exit 1

0 commit comments

Comments
 (0)