X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/1361b3a7cbf35746884f4454b976528139911576..5159f6583109f402e3b51c528c81219bb6821110:/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