diff options
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r-- | miscutils/crond.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c index af37bb1..41f1517 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c @@ -468,7 +468,7 @@ static void SynchronizeFile(const char *fileName) file->cf_User = xstrdup(fileName); pline = &file->cf_LineBase; - while (--maxLines && (n=config_read(&parser, tokens, 6, 0, " \t", '#')) > 0) { + while (--maxLines && (n=config_read(&parser, tokens, 6, 0, " \t", '#')) >= 0) { CronLine *line; if (DebugOpt) { |