Skip to content

Commit 71d380e

Browse files
committed
Do not show (trial 0/3)
1 parent 95e3139 commit 71d380e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

repeater.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ func getWinSshVersion() string {
128128
}
129129

130130
func trial(i int) string {
131-
if i == 1 {
131+
if i == 0 {
132132
return ""
133133
} else {
134-
return fmt.Sprintf(" (trial %d/%d)", i, len(waitTimes))
134+
return fmt.Sprintf(" (trial %d/%d)", i+1, len(waitTimes))
135135
}
136136
}

0 commit comments

Comments
 (0)