Skip to content

Commit 3c3c7e8

Browse files
authored
Update ssh_tunnel.py
1 parent b02d8da commit 3c3c7e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssh_tunnel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def create_ssh_tunnel(hostname, local_socket, remote_socket):
3939
try:
4040
subprocess.run(ssh_tunnel_terminate_cmd)
4141
os.remove(local_socket)
42-
except subprocess.CalledProcessError:
42+
except (subprocess.CalledProcessError, FileNotFoundError):
4343
pass
4444

4545

0 commit comments

Comments
 (0)