diff --git a/host/hackrf-tools/src/hackrf_transfer.c b/host/hackrf-tools/src/hackrf_transfer.c index 5d1adbc9..d7903f60 100644 --- a/host/hackrf-tools/src/hackrf_transfer.c +++ b/host/hackrf-tools/src/hackrf_transfer.c @@ -397,7 +397,7 @@ void stop_main_loop(void) #ifdef _WIN32 SetEvent(interrupt_handle); #else - kill(0, SIGALRM); + kill(getpid(), SIGALRM); #endif }