Skip to content

Commit 2603996

Browse files
committed
Implement copilot suggestion
1 parent b807595 commit 2603996

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)