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:
parent
f6f3f1c158
commit
6265c24162
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue