X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/571ab3e4c67a2c7d7ef031c00047444abb525b2e..1be063fca4e4b517ec4d4c0d8703a3f6be1cf049:/tools/helpers/drivers.py diff --git a/tools/helpers/drivers.py b/tools/helpers/drivers.py index b04877d..3c0ea7a 100644 --- a/tools/helpers/drivers.py +++ b/tools/helpers/drivers.py @@ -112,11 +112,8 @@ def probeBinderDriver(args): def probeAshmemDriver(args): if not os.path.exists("/dev/ashmem"): - command = ["modprobe", "ashmem_linux"] - output = tools.helpers.run.user(args, command, check=False, output_return=True) - if output: - logging.error("Failed to load ashmem driver") - logging.error(output.strip()) + command = ["modprobe", "-q", "ashmem_linux"] + tools.helpers.run.user(args, command, check=False) if not os.path.exists("/dev/ashmem"): return -1