1 Author: Jérôme <jerome@jolimont.fr>
2 Description: also catch SIGTERM for stopping the beep
4 --- beep-1.3.orig/beep.c
6 @@ -127,6 +127,7 @@ void handle_signal(int signum) {
12 /* Kill the sound, quit gracefully */
14 @@ -321,6 +322,7 @@ int main(int argc, char **argv) {
17 signal(SIGINT, handle_signal);
18 + signal(SIGTERM, handle_signal);
19 parse_command_line(argc, argv, parms);
21 /* this outermost while loop handles the possibility that -n/--new has been