]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
container: Make "waydroid-net.sh start" failure fatal
authorJami Kettunen <jami.kettunen@protonmail.com>
Sun, 15 Jan 2023 19:05:09 +0000 (21:05 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Sun, 15 Jan 2023 19:30:38 +0000 (20:30 +0100)
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

index cbd62988b6a0d61d8cc8a2b120287228fe2449d8..ddfc3bbc9db11422fe217f687f758e1402241020 100644 (file)
@@ -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"):