mirror of
https://github.com/gryf/ferrit.git
synced 2026-02-17 15:45:46 +01:00
Wait for user interaction on interactive connection
This commit is contained in:
@@ -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