diff options
Diffstat (limited to 'src/libs/zbxnix/sighandler.c')
-rw-r--r-- | src/libs/zbxnix/sighandler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/zbxnix/sighandler.c b/src/libs/zbxnix/sighandler.c index 89e9a9c04a9..646c727ca27 100644 --- a/src/libs/zbxnix/sighandler.c +++ b/src/libs/zbxnix/sighandler.c @@ -43,7 +43,7 @@ static void fatal_signal_handler(int sig, siginfo_t *siginfo, void *context) SIG_CHECKED_FIELD(siginfo, si_code), SIG_CHECKED_FIELD_TYPE(siginfo, si_addr, void *)); print_fatal_info(sig, siginfo, context); - exit(FAIL); + exit(EXIT_FAILURE); } /****************************************************************************** @@ -79,7 +79,7 @@ static void terminate_signal_handler(int sig, siginfo_t *siginfo, void *context) SIG_CHECKED_FIELD(siginfo, si_pid), SIG_CHECKED_FIELD_UINT(siginfo, si_uid), SIG_CHECKED_FIELD(siginfo, si_code)); - exit(FAIL); + exit(EXIT_FAILURE); } else { @@ -113,7 +113,7 @@ static void child_signal_handler(int sig, siginfo_t *siginfo, void *context) SIG_CHECK_PARAMS(sig, siginfo, context); if (!SIG_PARENT_PROCESS) - exit(FAIL); + exit(EXIT_FAILURE); if (0 == sig_exiting) { |