diff options
author | millert <millert@openbsd.org> | 2015-11-11 17:19:22 +0000 |
---|---|---|
committer | millert <millert@openbsd.org> | 2015-11-11 17:19:22 +0000 |
commit | d31b1261433056ebb0d9885183183655d088a2fa (patch) | |
tree | 63fd49ae082ce9d8691263d7b0e75a4f1bb18db2 /usr.sbin/cron/crontab.c | |
parent | Use warn/warnx where sensible and add fatal/fatalx wrappers for (diff) | |
download | wireguard-openbsd-d31b1261433056ebb0d9885183183655d088a2fa.tar.xz wireguard-openbsd-d31b1261433056ebb0d9885183183655d088a2fa.zip |
Niether cron nor crontab need flock permission.
Diffstat (limited to 'usr.sbin/cron/crontab.c')
-rw-r--r-- | usr.sbin/cron/crontab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/crontab.c b/usr.sbin/cron/crontab.c index 0974db37d45..e1846993206 100644 --- a/usr.sbin/cron/crontab.c +++ b/usr.sbin/cron/crontab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crontab.c,v 1.86 2015/11/11 15:21:01 millert Exp $ */ +/* $OpenBSD: crontab.c,v 1.87 2015/11/11 17:19:22 millert Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") @@ -83,7 +83,7 @@ main(int argc, char *argv[]) user_gid = getgid(); crontab_gid = getegid(); - if (pledge("stdio rpath wpath cpath fattr getpw unix flock id proc exec", + if (pledge("stdio rpath wpath cpath fattr getpw unix id proc exec", NULL) == -1) { perror("pledge"); exit(EXIT_FAILURE); |