mirror of
https://github.com/gryf/ferrit.git
synced 2026-11-20 09:36:54 +01:00
Wait for user interaction on interactive connection
This commit is contained in:
1 parent
867a2c4716
commit
7d316947b4
1 file changed
+1
@@ -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