summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-12-03 02:26:44 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-12-03 02:26:44 +0000
commit630ccd4c1924920fedd27b433cdd32541ced1fa8 (patch)
tree2da2380c1844f91c19352578615517bef63c30f4 /recordmydesktop
parent86303ab2561c8f53ee41a7a71d673da2086f9833 (diff)
SA_RESTART for sigaction
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@453 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/src/register_callbacks.c2
1 files changed, 1 insertions, 1 deletions
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);
© All Rights Reserved