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

Diff of /monit/monitor.c

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

revision 1.13 by chopp, Thu Sep 12 16:08:39 2002 UTC revision 1.14 by hauk, Thu Sep 12 16:46:07 2002 UTC
# Line 148  static void do_init() { Line 148  static void do_init() {
148      Run.controlfile= find_rcfile();      Run.controlfile= find_rcfile();
149            
150    }    }
   
   if ( ! check_rcfile_permissions() ) {  
   
     error("%s: The configuration file %s is world or group accessible\n", prog, Run.controlfile);  
     exit(1);  
   
   }  
   
   if ( ! check_rcfile_owner() ) {  
   
     error("%s: You do not own the configuration file %s\n", prog, Run.controlfile);  
     exit(1);  
   
   }  
   
151        
152    /* Initialize proc interface */    /* Initialize proc interface */
153    if ( init_process_info() ) {    if ( init_process_info() ) {

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