Blocked USR signals during capture.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@445 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-04-04 09:55:23 +00:00
parent f6f3f1c158
commit 6265c24162
1 changed files with 2 additions and 1 deletions

View File

@ -163,7 +163,8 @@ int main( int argc, char *argv[] )
action.sa_flags = 0; action.sa_flags = 0;
sigaction( SIGTERM, &action, &old_action ); sigaction( SIGTERM, &action, &old_action );
//sigaddset( &block_set, SIGTERM ); sigaddset( &block_set, SIGUSR1 );
sigaddset( &block_set, SIGUSR2 );
if ( device >= 0 && n_monitors == 1 ) if ( device >= 0 && n_monitors == 1 )
{ {
monitors[0]->PreCapture(); monitors[0]->PreCapture();