diff options
author | sobomax <sobomax@FreeBSD.org> | 2012-10-16 21:34:02 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2012-10-16 21:34:02 +0000 |
commit | 7097039d8dbf67d1efd7e5ae636a00900137746e (patch) | |
tree | 350cc5d10b96bd79edcaf4d5e3059cad6a992143 /usr.sbin/cron/lib | |
parent | 214df82afacb6e4f782e0d8090c25db6a7230fdf (diff) | |
download | FreeBSD-src-7097039d8dbf67d1efd7e5ae636a00900137746e.zip FreeBSD-src-7097039d8dbf67d1efd7e5ae636a00900137746e.tar.gz |
Properly handle non-keyword case by setting e->second to 0.
Diffstat (limited to 'usr.sbin/cron/lib')
-rw-r--r-- | usr.sbin/cron/lib/entry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/cron/lib/entry.c b/usr.sbin/cron/lib/entry.c index 9c1106a..2ed62fe 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); |