mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-02 18:45:52 +02:00
commit
2f90ec066f
|
@ -38,7 +38,10 @@ else: # Python 2
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user