From ac0cb74f985260bcd8cdef4df53239582b66d812 Mon Sep 17 00:00:00 2001 From: Iwasaki Yudai Date: Sun, 23 Aug 2015 21:00:52 +0900 Subject: [PATCH] Log PermitWrite mode --- app/app.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/app.go b/app/app.go index 64c7336..9482bf3 100644 --- a/app/app.go +++ b/app/app.go @@ -54,6 +54,10 @@ func New(options Options) (*App, error) { } func (app *App) Run() error { + if app.options.PermitWrite { + log.Printf("Permitting clients to write input to the PTY.") + } + path := "" if app.options.RandomUrl { path += "/" + generateRandomString(8)