Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into encoding-review
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Mar 4, 2018
2 parents 318389b + 2f90ec0 commit 0166642
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion updateHostsFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
raw_input = raw_input # noqa

# Syntactic sugar for "sudo" command in UNIX / Linux
SUDO = ["/usr/bin/env", "sudo"]
if platform.system() == "OpenBSD":
SUDO = ["/usr/bin/doas"]
else:
SUDO = ["/usr/bin/env", "sudo"]


# Project Settings
Expand Down

0 comments on commit 0166642

Please sign in to comment.