hackrf_transfer: send signal to own PID
by
Michael Ossmann
2 years 9 months
hackrf_transfer: send signal to own PID
Instead of sending a signal to the process group, get our own process ID
and send the signal to it. This fixes a bug that prevented termination
when called from a script.