Skip to content

Commit

Permalink
Stop reporting last status from ddev ssh, fixes #1681 (#1697)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Jul 9, 2019
1 parent 527519b commit ac4710d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmd/ddev/cmd/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,11 @@ var DdevSSHCmd = &cobra.Command{
if !nodeps.ArrayContainsString([]string{"web", "db", "dba"}, serviceType) {
shell = "sh"
}
err = app.ExecWithTty(&ddevapp.ExecOpts{
_ = app.ExecWithTty(&ddevapp.ExecOpts{
Service: serviceType,
Cmd: shell,
Dir: sshDirArg,
})

if err != nil {
util.Failed("Failed to ssh %s: %s", app.GetName(), err)
}
},
}

Expand Down

0 comments on commit ac4710d

Please sign in to comment.