1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

connection/send_signal: Use signal value instead of name

Some targets do not support killing via signal name so use the signal
number for greater compatibility.
This commit is contained in:
Marc Bonnici 2020-07-06 16:51:02 +01:00 committed by setrofim
parent 9a2c413372
commit bc9478c324

View File

@ -27,7 +27,7 @@ _KILL_TIMEOUT = 3
def _kill_pgid_cmd(pgid, sig):
return 'kill -{} -{}'.format(sig.name, pgid)
return 'kill -{} -{}'.format(sig.value, pgid)
class ConnectionBase(InitCheckpoint):