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 { func (app *App) Run() error {
if app.options.PermitWrite {
log.Printf("Permitting clients to write input to the PTY.")
}
path := "" path := ""
if app.options.RandomUrl { if app.options.RandomUrl {
path += "/" + generateRandomString(8) path += "/" + generateRandomString(8)