Fix ssh box hung issue (#2172)

Co-authored-by: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>
This commit is contained in:
Boxuan Li
2024-05-31 22:31:32 -07:00
committed by GitHub
parent 3a4dc5c68c
commit 06e45afc75

View File

@@ -403,9 +403,6 @@ class DockerSSHBox(Sandbox):
# cd to workspace
self.ssh.sendline(f'cd {self.sandbox_workspace_dir}')
self.ssh.prompt()
# load bashrc
self.ssh.sendline('source ~/.bashrc')
self.ssh.prompt()
def get_exec_cmd(self, cmd: str) -> list[str]:
if self.run_as_devin: