mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 12:24:25 +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 {
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user