Author: Jérôme <jerome@jolimont.fr>
Description: also catch SIGTERM for stopping the beep
-Index: VCS/beep.c
-===================================================================
---- VCS.orig/beep.c 2012-06-10 10:03:39.000000000 +0200
-+++ VCS/beep.c 2012-06-10 10:03:59.000000000 +0200
-@@ -127,6 +127,7 @@
+--- beep-1.3.orig/beep.c
++++ beep-1.3/beep.c
+@@ -127,6 +127,7 @@ void handle_signal(int signum) {
switch(signum) {
case SIGINT:
if(console_fd >= 0) {
/* Kill the sound, quit gracefully */
do_beep(0);
-@@ -321,6 +322,7 @@
+@@ -321,6 +322,7 @@ int main(int argc, char **argv) {
parms->next = NULL;
signal(SIGINT, handle_signal);