"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "base/nagios.c" between
nagios-4.4.3.tar.gz and nagios-4.4.4.tar.gz

About: Nagios (Core) is an host/service/network monitoring system to identify and resolve IT infrastructure problems.

nagios.c  (nagios-4.4.3):nagios.c  (nagios-4.4.4)
skipping to change at line 902 skipping to change at line 902
iobroker_destroy(nagios_iobs, IOBROKER_CLOSE_SOCK ETS); iobroker_destroy(nagios_iobs, IOBROKER_CLOSE_SOCK ETS);
nagios_iobs = NULL; nagios_iobs = NULL;
/* log a shutdown message */ /* log a shutdown message */
logit(NSLOG_PROCESS_INFO, TRUE, "Successfully shu tdown... (PID=%d)\n", (int)getpid()); logit(NSLOG_PROCESS_INFO, TRUE, "Successfully shu tdown... (PID=%d)\n", (int)getpid());
} }
/* try and collect any zombie processes */ /* try and collect any zombie processes */
if (sigrestart == TRUE) { if (sigrestart == TRUE) {
sleep(1);
int status = 0; int status = 0;
pid_t child_pid; pid_t child_pid;
log_debug_info(DEBUGL_PROCESS, 1, "Calling waitpi d() on all children...\n"); log_debug_info(DEBUGL_PROCESS, 1, "Calling waitpi d() on all children...\n");
while ((child_pid = waitpid(-1, &status, WNOHANG) ) > 0) { while ((child_pid = waitpid(-1, &status, WNOHANG) ) > 0) {
log_debug_info(DEBUGL_PROCESS, 2, " * chi ld PID: (%d), status: (%d)\n", child_pid, status); log_debug_info(DEBUGL_PROCESS, 2, " * chi ld PID: (%d), status: (%d)\n", child_pid, status);
} }
log_debug_info(DEBUGL_PROCESS, 1, "All children h ave been wait()ed on\n"); log_debug_info(DEBUGL_PROCESS, 1, "All children h ave been wait()ed on\n");
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)