Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
c0m4r committed Jan 23, 2024
1 parent bf54129 commit 764e9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neatplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def dhcp(version: int, iface: str) -> None:
"""
dhclient = "/usr/sbin/dhclient"

if os.path.isfile(dhclient):
if not os.path.isfile(dhclient):
print(f"DHCP unavailable: {dhclient} not found")
elif version == 6:
run([dhclient, "-6", iface], check=False)
Expand Down

0 comments on commit 764e9cd

Please sign in to comment.