mirror of
https://github.com/yudai/gotty.git
synced 2025-09-21 21:40:49 +02:00
Log PermitWrite mode
This commit is contained in:
parent
a765d6c660
commit
ac0cb74f98
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue