mirror of
https://github.com/gryf/ferrit.git
synced 2026-11-24 11: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:
|
else:
|
||||||
# interactive session
|
# interactive session
|
||||||
channel.send_stderr(GERRIT_SHELL_MSG)
|
channel.send_stderr(GERRIT_SHELL_MSG)
|
||||||
|
channel.makefile("rU").read(1) # wait for user interaction
|
||||||
return
|
return
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Reference in new issue
Block a user