else {
Debug(DPARS, ("load_entry()...about to parse numerics\n"))
- if (ch == '*')
+ if (ch == '*')
e->flags |= MIN_STAR;
ch = get_list(e->minute, FIRST_MINUTE, LAST_MINUTE, PPC_NULL, ch, file);
if (ch == EOF) {
Debug(DPARS, ("load_entry()...about to parse command\n"))
- /* If the first character of the command is '-' it is a cron option.
- */
- while ((ch = get_char(file)) == '-') {
- switch (ch = get_char(file)) {
- case 'q':
- e->flags |= DONT_LOG;
- Skip_Nonblanks(ch, file)
- break;
- default:
- ecode = e_option;
- goto eof;
- }
- Skip_Blanks(ch, file)
- if (ch == EOF || ch == '\n') {
- ecode = e_cmd;
- goto eof;
- }
- }
unget_char(ch, file);
/* Everything up to the next \n or EOF is part of the command...