summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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