fix api broken

This commit is contained in:
Unknwon 2015-11-15 17:07:44 -05:00
parent 35d49d3b34
commit e030109b5a
8 changed files with 59 additions and 12 deletions

View file

@ -83,6 +83,7 @@ func handleServerConn(keyID string, chans <-chan ssh.NewChannel) {
return
}
// FIXME: check timeout
if err = cmd.Start(); err != nil {
log.Error(3, "Start: %v", err)
return