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

Diff of /monit/monitor.c

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

revision 1.12 by rory, Thu Sep 12 01:49:58 2002 UTC revision 1.13 by chopp, Thu Sep 12 16:08:39 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    }    }
151    
152      if ( ! check_rcfile_permissions() ) {
153    
154        error("%s: The configuration file %s is world or group accessible\n", prog, Run.controlfile);
155        exit(1);
156    
157      }
158    
159      if ( ! check_rcfile_owner() ) {
160    
161        error("%s: You do not own the configuration file %s\n", prog, Run.controlfile);
162        exit(1);
163    
164      }
165    
166        
167    /* Initialize proc interface */    /* Initialize proc interface */
168    if ( init_process_info() ) {    if ( init_process_info() ) {

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

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