Skip to content

Commit

Permalink
Merge pull request #119 from olehermanse/master
Browse files Browse the repository at this point in the history
Removed unnecessary whoami command
  • Loading branch information
olehermanse authored Jan 29, 2025
2 parents e755d24 + 6ab13b4 commit b610c4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cf_remote/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ def get_info(host, *, users=None, connection=None):
data["ssh_user"] = user
data["ssh_host"] = host
data["ssh"] = "{}@{}".format(user, host)
data["whoami"] = ssh_cmd(connection, "whoami")
systeminfo = ssh_cmd(connection, "systeminfo")
if systeminfo:
data["os"] = "windows"
Expand Down

0 comments on commit b610c4d

Please sign in to comment.