diff options
author | 2015-10-29 23:14:30 +0000 | |
---|---|---|
committer | 2015-10-29 23:14:30 +0000 | |
commit | d663e730f6f20de2e80d1f79401f2425b00f2a3f (patch) | |
tree | 6e1fc29d4e199fb13f0ca55becb4602d5374a023 /usr.sbin/cron/crontab.c | |
parent | Remove duplicated prototype. (diff) | |
download | wireguard-openbsd-d663e730f6f20de2e80d1f79401f2425b00f2a3f.tar.xz wireguard-openbsd-d663e730f6f20de2e80d1f79401f2425b00f2a3f.zip |
Also need exec to run the editor of course.
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 4865e5ffcf3..51e3bd8ee40 100644 --- a/usr.sbin/cron/crontab.c +++ b/usr.sbin/cron/crontab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crontab.c,v 1.76 2015/10/29 22:46:31 millert Exp $ */ +/* $OpenBSD: crontab.c,v 1.77 2015/10/29 23:14:30 millert Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") @@ -68,7 +68,7 @@ main(int argc, char *argv[]) Pid = getpid(); ProgramName = argv[0]; - if (pledge("stdio rpath wpath cpath fattr getpw unix flock proc id", + if (pledge("stdio rpath wpath cpath fattr getpw unix flock id proc exec", NULL) == -1) { log_it(RealUser, getpid(), "pledge", strerror(errno)); exit(1); |