We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3185d8 commit d0434e4Copy full SHA for d0434e4
cli/ssh.go
@@ -379,7 +379,7 @@ func (r *RootCmd) ssh() *clibase.Cmd {
379
380
err = sshSession.Wait()
381
if err != nil {
382
- if exitErr := &gossh.ExitError{}; errors.As(err, &exitErr) {
+ if exitErr := (&gossh.ExitError{}); errors.As(err, &exitErr) {
383
// Clear the error since it's not useful beyond
384
// reporting status.
385
return ExitError(exitErr.ExitStatus(), nil)
0 commit comments