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

Diff of /monit/control.c

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

revision 1.13 by rory, Fri Dec 6 19:40:49 2002 UTC revision 1.14 by rory, Fri Dec 6 23:01:01 2002 UTC
# Line 32  Line 32 
32  #include <string.h>  #include <string.h>
33  #endif  #endif
34    
35    #ifdef HAVE_UNISTD_H
36    #include <unistd.h>
37    #endif
38    
39  #include "monitor.h"  #include "monitor.h"
40  #include "net.h"  #include "net.h"
41    
# Line 295  static void atomic_control_process(Proce Line 299  static void atomic_control_process(Proce
299        log("%s: (%s) %s\n", action, p->name, p->start->arg[0]);        log("%s: (%s) %s\n", action, p->name, p->start->arg[0]);
300        spawn(p, p->start);        spawn(p, p->start);
301        p->visited= TRUE;        p->visited= TRUE;
302          if( !is_process_running(p) ) {
303            sleep(Run.polltime);
304          }
305                
306      }      }
307    }    }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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