Merge pull request #907 from daredoes/sudo-env-var

Get use sudo from env var
This commit is contained in:
James Barnsley
2023-08-12 12:19:37 +12:00
committed by GitHub

View File

@ -25,7 +25,7 @@ class IrisSystemPermissionError(IrisSystemError):
class IrisSystemThread(Thread):
_USE_SUDO = True
_USE_SUDO = os.environ.get("IRIS_USE_SUDO", True)
def __init__(self, action, ioloop, callback):
Thread.__init__(self)