vixie-cron-4.1-commandline.patch 360 B

12345678910111213
  1. --- entry.c 2004-08-27 20:09:34.000000000 +0200
  2. +++ /root/entry.c 2004-09-26 14:41:46.929137000 +0200
  3. @@ -336,7 +336,8 @@
  4. /* If the first character of the command is '-' it is a cron option.
  5. */
  6. - while ((ch = get_char(file)) == '-') {
  7. + ch = get_char(file);
  8. + while (ch == '-') {
  9. switch (ch = get_char(file)) {
  10. case 'q':
  11. e->flags |= DONT_LOG;