Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Dec 23, 2017
1 parent f198573 commit 782efd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ func ServeHTTP(lis net.Listener, tunnel *TunnelProxy) error {
if retries > 10 {
log.Println("unix @minitouch connect failed")
wsWrite(websocket.TextMessage, []byte("@minitouch listen timeout, possibly minitouch not installed"))
ws.Close()
break
}
conn, err := net.Dial("unix", "@minitouch")
Expand Down
2 changes: 1 addition & 1 deletion term_posix.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"syscall"
"unsafe"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/gorilla/websocket"
"github.com/kr/pty"
)
Expand Down

0 comments on commit 782efd3

Please sign in to comment.