From 6265c241625d325f005401c3de41ddc8fdc15595 Mon Sep 17 00:00:00 2001 From: stan Date: Fri, 4 Apr 2003 09:55:23 +0000 Subject: [PATCH] Blocked USR signals during capture. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@445 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zmc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zmc.cpp b/src/zmc.cpp index da2581e18..d229fc322 100644 --- a/src/zmc.cpp +++ b/src/zmc.cpp @@ -163,7 +163,8 @@ int main( int argc, char *argv[] ) action.sa_flags = 0; sigaction( SIGTERM, &action, &old_action ); - //sigaddset( &block_set, SIGTERM ); + sigaddset( &block_set, SIGUSR1 ); + sigaddset( &block_set, SIGUSR2 ); if ( device >= 0 && n_monitors == 1 ) { monitors[0]->PreCapture();