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.
This commit is contained in:
Jami Kettunen
2023-01-15 21:05:09 +02:00
committed by Alessandro Astone
parent 8f6570b820
commit 85843da557

View 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"):