Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
`stdout` was missing the `s`
  • Loading branch information
reynir committed Oct 24, 2017
1 parent 48563e8 commit f27a6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dhcpcanon/netutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def set_dns_resolvconf_admin(lease):
def set_dns_resolvconf(lease):
cmd = [RESOLVCONF, '-a', lease.interface]
proc = subprocess.Popen(cmd, stdin=subprocess.PIPE,
tdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdin = '\n'.join(['nameserver ' + nm for nm in
lease.name_server.split()])
stdin = str.encode(stdin)
Expand Down

0 comments on commit f27a6a4

Please sign in to comment.