Renamed terminate to zm_terminate.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@378 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
f4667a870c
commit
02f7a5c5ad
|
@ -20,12 +20,12 @@
|
|||
#include <getopt.h>
|
||||
#include "zm.h"
|
||||
|
||||
bool terminate = false;
|
||||
bool zm_terminate = false;
|
||||
|
||||
void term_handler( int signal )
|
||||
{
|
||||
Info(( "Got TERM signal, exiting" ));
|
||||
terminate = true;
|
||||
zm_terminate = true;
|
||||
}
|
||||
|
||||
void Usage()
|
||||
|
@ -140,7 +140,7 @@ int main( int argc, char *argv[] )
|
|||
monitors[i]->PostCapture();
|
||||
}
|
||||
sigprocmask( SIG_UNBLOCK, &block_set, 0 );
|
||||
if ( terminate )
|
||||
if ( zm_terminate )
|
||||
{
|
||||
for ( int i = 0; i < n_monitors; i++ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue