Skip to content

Commit eb3ebce

Browse files
authored
internal/build: exit sftp upload (#24590)
1 parent d1c243f commit eb3ebce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/build/util.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ func UploadSFTP(identityFile, host, dir string, files []string) error {
138138
for _, f := range files {
139139
fmt.Fprintln(in, "put", f, path.Join(dir, filepath.Base(f)))
140140
}
141+
fmt.Fprintln(in, "exit")
141142
// Avoid travis timout after 10m of inactivity by printing something
142143
// every 8 minutes.
143144
done := make(chan bool)

0 commit comments

Comments
 (0)