From 630ccd4c1924920fedd27b433cdd32541ced1fa8 Mon Sep 17 00:00:00 2001 From: iovar Date: Mon, 3 Dec 2007 02:26:44 +0000 Subject: SA_RESTART for sigaction git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@453 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/register_callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recordmydesktop/src/register_callbacks.c b/recordmydesktop/src/register_callbacks.c index cd6efe4..a0d2552 100644 --- a/recordmydesktop/src/register_callbacks.c +++ b/recordmydesktop/src/register_callbacks.c @@ -65,7 +65,7 @@ void RegisterCallbacks(ProgArgs *args){ end_act.sa_handler=SetRunning; sigfillset(&(pause_act.sa_mask)); sigfillset(&(end_act.sa_mask)); - pause_act.sa_flags=end_act.sa_flags=0; + pause_act.sa_flags=end_act.sa_flags=SA_RESTART; sigaction(SIGUSR1,&pause_act,NULL); sigaction(SIGINT,&end_act,NULL); sigaction(SIGTERM,&end_act,NULL); -- cgit v1.2.3