From 7e2399055b8c03286b730fda22e10f861df59273 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Tue, 16 May 2023 17:06:15 -0500 Subject: [PATCH] connection: update kill command format The kill applet in the current busybox executable does not support the `--` syntax therefore remove from the template command. --- devlib/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/connection.py b/devlib/connection.py index aacb48a..2a5aabf 100644 --- a/devlib/connection.py +++ b/devlib/connection.py @@ -35,7 +35,7 @@ _KILL_TIMEOUT = 3 def _kill_pgid_cmd(pgid, sig, busybox): - return '{} kill -{} -- -{}'.format(busybox, sig.value, pgid) + return '{} kill -{} -{}'.format(busybox, sig.value, pgid) def _popen_communicate(bg, popen, input, timeout): try: