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 b791322 commit 8e106dbCopy full SHA for 8e106db
commands/run.go
@@ -75,7 +75,7 @@ func runRun(cmd *types.Command, args []string) {
75
// exec -w SERVER COMMAND ARGS...
76
log.Debugf("Executing command")
77
if len(args) < 2 {
78
- err = utils.SSHExec(server.PublicAddress.IP, []string{"if [ -x /bin/bash ]; then /bin/bash; else /bin/sh; fi"}, false)
+ err = utils.SSHExec(server.PublicAddress.IP, []string{"if [ -x /bin/bash ]; then exec /bin/bash; else exec /bin/sh; fi"}, false)
79
} else {
80
err = utils.SSHExec(server.PublicAddress.IP, args[1:], false)
81
}
0 commit comments