mirror of
https://github.com/gryf/ferrit.git
synced 2026-02-07 16:55:47 +01:00
Wait for user interaction on interactive connection
This commit is contained in:
@@ -149,6 +149,7 @@ class SSHHandler(socketserver.StreamRequestHandler):
|
||||
else:
|
||||
# interactive session
|
||||
channel.send_stderr(GERRIT_SHELL_MSG)
|
||||
channel.makefile("rU").read(1) # wait for user interaction
|
||||
return
|
||||
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user