From 890278c188e8b5372e94086a1afa988b154bc341 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 16 Oct 2012 21:34:02 +0000 Subject: [PATCH] Properly handle non-keyword case by setting e->second to 0. --- usr.sbin/cron/lib/entry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/cron/lib/entry.c b/usr.sbin/cron/lib/entry.c index 9c1106a3d735..2ed62fe70259 100644 --- a/usr.sbin/cron/lib/entry.c +++ b/usr.sbin/cron/lib/entry.c @@ -222,6 +222,7 @@ load_entry(file, error_func, pw, envp) } } else { Debug(DPARS, ("load_entry()...about to parse numerics\n")) + bit_set(e->second, 0); ch = get_list(e->minute, FIRST_MINUTE, LAST_MINUTE, PPC_NULL, ch, file);