summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-05-09 21:53:18 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-05-09 21:53:18 +0000
commitcbae7dbe5a3b51d60afec2bd2238a7b186a88498 (patch)
treed05053ed2b7c638bfc3363e45af23f5116747120 /usr.sbin/cron
parentb598c0bcf1a0467fb3a7ce0369409c4ba4db40a8 (diff)
Missing piece from last commit.
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/cron/misc.c b/usr.sbin/cron/misc.c
index a5da325b173..e94a68e3285 100644
--- a/usr.sbin/cron/misc.c
+++ b/usr.sbin/cron/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.13 2002/05/09 21:40:41 millert Exp $ */
+/* $OpenBSD: misc.c,v 1.14 2002/05/09 21:53:17 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
*/
@@ -21,7 +21,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static char rcsid[] = "$OpenBSD: misc.c,v 1.13 2002/05/09 21:40:41 millert Exp $";
+static char rcsid[] = "$OpenBSD: misc.c,v 1.14 2002/05/09 21:53:17 millert Exp $";
#endif
/* vix 26jan87 [RCS has the rest of the log]
@@ -495,11 +495,11 @@ allowed(username)
if (allow_error)
return (FALSE);
if (allow)
- return (in_file(username, allow));
+ return (in_file(username, allow, FALSE));
if (deny_error)
return (FALSE);
if (deny)
- return (!in_file(username, deny));
+ return (!in_file(username, deny, TRUE));
#if defined(ALLOW_ONLY_ROOT)
return (strcmp(username, ROOT_USER) == 0);