mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-12-22 23:17:29 +00:00
Log PermitWrite mode
This commit is contained in:
parent
a765d6c660
commit
ac0cb74f98
@ -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…
Reference in New Issue
Block a user