From: Jami Kettunen Date: Sun, 15 Jan 2023 19:05:09 +0000 (+0200) Subject: container: Make "waydroid-net.sh start" failure fatal X-Git-Tag: 1.4.0~40 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/85843da557ef552bfb2b1e1fc32cd8424933407a?ds=sidebyside 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. --- 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"):