X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/224392022a261dbfa38e350b8b5510dd05e38a77..4606d202ce1b4bcb503209d8330a9f72d8dab2ca:/tools/actions/container_manager.py diff --git a/tools/actions/container_manager.py b/tools/actions/container_manager.py index 898bb83..ee91c52 100644 --- a/tools/actions/container_manager.py +++ b/tools/actions/container_manager.py @@ -206,7 +206,7 @@ def stop(args): # Sensors if which("waydroid-sensord"): command = ["pidof", "waydroid-sensord"] - pid = tools.helpers.run.user(args, command, check=False, output_return=True) + pid = tools.helpers.run.user(args, command, check=False, output_return=True).strip() if pid: command = ["kill", "-9", pid] tools.helpers.run.user(args, command, check=False)