/[monit]/monit/monitor.c
ViewVC logotype

Diff of /monit/monitor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.55 by hauk, Wed Jul 16 20:47:35 2003 UTC revision 1.56 by hauk, Sat Jul 19 01:02:41 2003 UTC
# Line 479  static int do_wakeupcall() { Line 479  static int do_wakeupcall() {
479   */   */
480  static RETSIGTYPE do_destroy(int sig) {  static RETSIGTYPE do_destroy(int sig) {
481        
482      Run.stopped= TRUE;
483      
484    switch(sig) {    switch(sig) {
485    case SIGTERM:    case SIGTERM:
486        stop_http();        stop_http();
# Line 488  static RETSIGTYPE do_destroy(int sig) { Line 490  static RETSIGTYPE do_destroy(int sig) {
490        finalize_files();        finalize_files();
491        state_finalize();        state_finalize();
492        /* Fall trough */        /* Fall trough */
         
493    default:    default:
       Run.stopped= TRUE;  
494        gc();        gc();
495        log_close();        log_close();
496        exit(0);        exit(0);

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26