1
0
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:
2019-10-25 14:14:14 +02:00
parent 867a2c4716
commit 7d316947b4

View File

@@ -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: