Skip to content

Commit

Permalink
fix(server): use session stderr on ssh cli interface
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed May 26, 2022
1 parent b6f20d7 commit 875ff2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func softMiddleware(ac *appCfg.Config) wish.Middleware {
cmd.Use = use
cmd.SetIn(s)
cmd.SetOut(s)
cmd.SetErr(s)
cmd.SetErr(s.Stderr())
cmd.SetArgs(s.Command())
err := cmd.ExecuteContext(ctx)
if err != nil {
Expand Down

0 comments on commit 875ff2b

Please sign in to comment.