summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2011-01-18 14:09:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2011-01-18 14:09:55 +0000
commit1a2c0645ea5eacaecc22e201ab1ff7ebcc6dd528 (patch)
tree55b922e63a0290e27deb54848f3abaca776f720a
parent8854f1c505c516669a5cb6dfdeb245d90814cf82 (diff)
Our crontab(1) hasn't used SIGUSR1 to signal cron in years, we now use
a Unix domain socket to trigger a reload.
-rw-r--r--usr.sbin/cron/cron.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/cron/cron.c b/usr.sbin/cron/cron.c
index 7a4442adf9b..63aff8c111e 100644
--- a/usr.sbin/cron/cron.c
+++ b/usr.sbin/cron/cron.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cron.c,v 1.41 2009/10/27 23:59:51 deraadt Exp $ */
+/* $OpenBSD: cron.c,v 1.42 2011/01/18 14:09:54 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
@@ -94,7 +94,6 @@ main(int argc, char *argv[]) {
(void) sigaction(SIGTERM, &sact, NULL);
sact.sa_handler = SIG_IGN;
(void) sigaction(SIGPIPE, &sact, NULL);
- (void) sigaction(SIGUSR1, &sact, NULL); /* XXX */
acquire_daemonlock(0);
set_cron_uid();