Skip to content

Commit

Permalink
Merge pull request #126 from distributary-dami/patch-1
Browse files Browse the repository at this point in the history
Update parse-ssh-host to fix a mismatched quotes in new trace code.
  • Loading branch information
josegonzalez authored Sep 29, 2024
2 parents 2a7142d + 7141698 commit 1b37f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/parse-ssh-host
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def is_ipv6(ip):
try:
return isinstance(ipaddress.ip_address(ip), ipaddress.IPv6Address)
except ValueError:
if os.getenv("TRACE") != "':
if os.getenv("TRACE") != "":
print(f"Invalid IP address: {ip}", file=sys.stderr)
return False

Expand Down

0 comments on commit 1b37f8f

Please sign in to comment.