Commit c588a311 authored by Dorian Guillois's avatar Dorian Guillois
Browse files

Update perl version.

parent 18e7dfa3
......@@ -28,9 +28,9 @@ set(TEST_DIR "${PROJECT_SOURCE_DIR}/test")
include_directories("${PROJECT_SOURCE_DIR}/inc")
# Project version.
set(CONNECTOR_PERL_MAJOR 0)
set(CONNECTOR_PERL_MINOR 1)
set(CONNECTOR_PERL_PATCH 1)
set(CONNECTOR_PERL_MAJOR 1)
set(CONNECTOR_PERL_MINOR 0)
set(CONNECTOR_PERL_PATCH 2)
set(CONNECTOR_PERL_VERSION "${CONNECTOR_PERL_MAJOR}.${CONNECTOR_PERL_MINOR}.${CONNECTOR_PERL_PATCH}")
add_definitions(-DCENTREON_CONNECTOR_PERL_VERSION=\"${CONNECTOR_PERL_VERSION}\")
......
......@@ -49,9 +49,7 @@ volatile bool should_exit(false);
static void term_handler(int signum) {
(void)signum;
int old_errno(errno);
log_info(logging::high) << "termination request received";
should_exit = true;
log_info(logging::high) << "reseting termination handler";
signal(SIGTERM, SIG_DFL);
errno = old_errno;
return ;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment