TERM signal not not blocked.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@68 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2002-09-25 08:46:29 +00:00
parent a3433c3123
commit 5081dd268e
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ void main( int argc, const char *argv[] )
action.sa_flags = 0;
sigaction( SIGTERM, &action, &old_action );
sigaddset( &block_set, SIGHUP );
sigaddset( &block_set, SIGTERM );
//sigaddset( &block_set, SIGTERM );
while( 1 )
{
// Process the next image

View File

@ -75,7 +75,7 @@ void main( int argc, const char *argv[] )
action.sa_flags = 0;
sigaction( SIGTERM, &action, &old_action );
sigaddset( &block_set, SIGHUP );
sigaddset( &block_set, SIGTERM );
//sigaddset( &block_set, SIGTERM );
if ( n_monitors == 1 )
{
monitors[0]->PreCapture();