mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-29 19:34:56 +01:00
Tobias Girstmair
142325a93c
Fix signal handler from getting stuck in an endless loop
The signal handler for SIGINT/TERM/QUIT and, importantly, SIGPIPE tries to write an informational message to stderr. When however stderr is redirected to a closed pipe, this will cause (another) SIGPIPE, and in turn the signal handler will get called again, and again and again. Since we intend to exit rtl_fm anyways, we can just ignore this signal.
rtl-sdr turns your Realtek RTL2832 based DVB dongle into a SDR receiver ====================================================================== For more information see: https://osmocom.org/projects/rtl-sdr/wiki
Description
Languages
C
91.5%
CMake
5.2%
Shell
1.7%
M4
0.9%
Makefile
0.7%