]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - tools/__init__.py
tools: Fix typo on stop container
[waydroid.git] / tools / __init__.py
index cdb5cdd017192a4c96186e437a8cbb732029ff44..62c2b921aaa11d53bf3eb8b130651aa18ef75377 100644 (file)
@@ -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)