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

Diff of /monit/monitor.c

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

revision 1.62 by chopp, Wed Sep 3 15:29:29 2003 UTC revision 1.63 by martinp, Sat Sep 13 19:35:37 2003 UTC
# Line 473  static void do_action(char **args) { Line 473  static void do_action(char **args) {
473            
474    } else if(IS(action, "validate")) {    } else if(IS(action, "validate")) {
475            
476        Run.validate= TRUE;
477      validate();      validate();
478            
479    } else {    } else {
# Line 546  static RETSIGTYPE do_destroy(int sig) { Line 547  static RETSIGTYPE do_destroy(int sig) {
547    case SIGINT:    case SIGINT:
548        /* Fall trough */        /* Fall trough */
549    case SIGTERM:    case SIGTERM:
550        stop_http();        if(Run.isdaemon && !Run.validate) {
551        if(Run.isdaemon) {          stop_http();
552          log("%s daemon with pid [%d] killed\n", prog, (int)getpid());          log("%s daemon with pid [%d] killed\n", prog, (int)getpid());
553        }        }
554        finalize_files();        finalize_files();

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

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