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

Diff of /monit/control.c

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

revision 1.39 by chopp, Tue Feb 11 11:29:14 2003 UTC revision 1.40 by martinp, Tue Feb 11 13:55:01 2003 UTC
# Line 206  void check_process(char *P, char *action Line 206  void check_process(char *P, char *action
206    if(is(action, "start")) {    if(is(action, "start")) {
207            
208      if(is_process_running(p)) {      if(is_process_running(p)) {
209    
210          if(!p->do_validate) {
211    
212            LOCK(Run.mutex)
213              p->do_validate= TRUE;
214            END_LOCK;
215    
216            if(Run.debug)
217              log("Monitoring enabled -- process %s\n", p->name);
218    
219          }
220    
221        return;        return;
222      }      }
223            

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

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