Skip to content

Commit 0b27c98

Browse files
committed
fixup! fix close
1 parent 885a2f1 commit 0b27c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/exp_rpty.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ func handleRPTY(inv *serpent.Invocation, client *codersdk.Client, args handleRPT
208208
<-stdoutDone
209209
<-stderrDone
210210
_ = conn.Close()
211+
_, _ = fmt.Fprintf(inv.Stderr, "Connection closed\n")
211212
}()
212213

213214
<-done
214-
_, _ = fmt.Fprintf(inv.Stderr, "Connection closed\n")
215215

216216
return nil
217217
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy