Changeset 7996
- Timestamp:
- Jul 27, 2006, 2:03:05 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/gastro2/src/ConfigInit.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/gastro2/src/ConfigInit.c
r6242 r7996 11 11 fprintf (stderr, "ERROR: can't find configuration file %s\n", file); 12 12 if (file != (char *) NULL) free (file); 13 exit ( 0);13 exit (1); 14 14 } 15 15 if (VERBOSE) fprintf (stderr, "loaded config file: %s\n", file); … … 54 54 if (*CATFORMAT == 0) strcpy (CATFORMAT, "ELIXIR"); 55 55 56 if (NFIELD <= 0.0) { 57 fprintf (stderr, "NFIELD is not sensible: choose a non-zero number\n"); 58 exit (1); 59 } 60 56 61 if (strcasecmp (ROUGH_ASTROMETRY, "header") && 57 62 strcasecmp (ROUGH_ASTROMETRY, "config")) { 58 63 fprintf (stderr, "ROUGH_ASTROMETRY must be one of: header, config\n"); 59 exit ( 0);64 exit (1); 60 65 } 61 66 free (config);
Note:
See TracChangeset
for help on using the changeset viewer.
