Corrected the multiple send

This commit is contained in:
2024-09-09 22:39:25 +02:00
parent 73d7ad868d
commit 9322b554a4

View File

@@ -455,8 +455,9 @@ func main() {
for i := 0; i < 3; i++ { for i := 0; i < 3; i++ {
err = runLoop(*param) err = runLoop(*param)
if err == nil { if err == nil {
continue break
} }
// Print the error and attempt number // Print the error and attempt number
fmt.Fprintf(os.Stderr, "Attempt %d failed: %v\n", i+1, err) fmt.Fprintf(os.Stderr, "Attempt %d failed: %v\n", i+1, err)
// Wait before the next attempt // Wait before the next attempt