mirror of
https://github.com/gryf/ferrit.git
synced 2026-02-07 08:45:53 +01:00
Return instead of closing the channel on interactive session.
This commit is contained in:
@@ -147,13 +147,13 @@ class SSHHandler(socketserver.StreamRequestHandler):
|
||||
else:
|
||||
channel.close()
|
||||
else:
|
||||
# interactive session
|
||||
channel.send_stderr(GERRIT_SHELL_MSG)
|
||||
channel.close()
|
||||
return
|
||||
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
finally:
|
||||
# channel.close()
|
||||
transport.close()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user