Skip to content

Commit

Permalink
Execv syntax a bit weird.
Browse files Browse the repository at this point in the history
  • Loading branch information
elg committed May 26, 2021
1 parent 6ca5f7e commit 8dc6272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions passhport/connections_utils/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def connect(target, filelog, login, port, sshoptions, pid, url_passhport,

else:
ssh_args = [
'/usr/bin/ssh', # argv[0] in C, ignored in execv
'-p' + str(port),
login + '@' + target,
]
Expand Down

0 comments on commit 8dc6272

Please sign in to comment.