From 85843da557ef552bfb2b1e1fc32cd8424933407a Mon Sep 17 00:00:00 2001 From: Jami Kettunen Date: Sun, 15 Jan 2023 21:05:09 +0200 Subject: [PATCH] container: Make "waydroid-net.sh start" failure fatal Failing the network setup will in 99% of all cases cause the lxc-start to fail due to the waydroid0 bridge not existing, so we might as well fail fast instead of polluting the "waydroid log" and doing a futile attempt at booting the LXC container. --- tools/actions/container_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/actions/container_manager.py b/tools/actions/container_manager.py index cbd6298..ddfc3bb 100644 --- a/tools/actions/container_manager.py +++ b/tools/actions/container_manager.py @@ -128,7 +128,7 @@ def do_start(args, session): # Networking command = [tools.config.tools_src + "/data/scripts/waydroid-net.sh", "start"] - tools.helpers.run.user(args, command, check=False) + tools.helpers.run.user(args, command) # Sensors if which("waydroid-sensord"): -- 2.47.3