mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-14 01:14:25 +00:00
commit
95ad63e5ae
@ -340,7 +340,7 @@ func (app *App) handleWS(w http.ResponseWriter, r *http.Request) {
|
|||||||
log.Print("Failed to execute command")
|
log.Print("Failed to execute command")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.Printf("Command is running for client %s with PID %d", r.RemoteAddr, cmd.Process.Pid)
|
log.Printf("Command is running for client %s with PID %d (args=%q)", r.RemoteAddr, cmd.Process.Pid, strings.Join(argv, " "))
|
||||||
|
|
||||||
context := &clientContext{
|
context := &clientContext{
|
||||||
app: app,
|
app: app,
|
||||||
|
Loading…
Reference in New Issue
Block a user