]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
Use kill for sensors
authorErfan Abdi <erfangplus@gmail.com>
Tue, 31 Aug 2021 09:54:49 +0000 (14:24 +0430)
committerErfan Abdi <erfangplus@gmail.com>
Wed, 1 Sep 2021 21:25:52 +0000 (01:55 +0430)
tools/actions/container_manager.py

index 47a28562bbaeac4f324a63674ed82a499400fbc3..f4ad128b767f17e93ec2ccf6cbdd26e1121d5ddb 100644 (file)
@@ -198,7 +198,7 @@ def stop(args):
             command = ["pidof", "waydroid-sensord"]
             pid = tools.helpers.run.root(args, command, check=False, output_return=True)
             if pid:
-                command = ["killall", pid]
+                command = ["kill", "-9", pid]
                 tools.helpers.run.root(args, command, check=False)
 
     else: