Log PermitWrite mode

This commit is contained in:
Iwasaki Yudai 2015-08-23 21:00:52 +09:00
parent a765d6c660
commit ac0cb74f98

View File

@ -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)