]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - tools/__init__.py
lxc: Enable vndk lite for mainline devices
[waydroid.git] / tools / __init__.py
index cdb5cdd017192a4c96186e437a8cbb732029ff44..9bf1b7eeb9dc02b15f1349e2cf22f6f0df41c6bd 100644 (file)
@@ -27,7 +27,7 @@ def main():
         args.cache = {}
         args.work = config.defaults["work"]
         args.config = args.work + "/waydroid.cfg"
-        args.log = args.work + "/tools.log"
+        args.log = args.work + "/waydroid.log"
         args.sudo_timer = True
         args.timeout = 1800
 
@@ -64,7 +64,7 @@ def main():
                 actions.container_manager.start(args)
             elif args.subaction == "stop":
                 actions.container_manager.stop(args)
-            if args.subaction == "restart":
+            elif args.subaction == "restart":
                 actions.container_manager.restart(args)
             elif args.subaction == "freeze":
                 actions.container_manager.freeze(args)