diff options
-rw-r--r-- | usr.sbin/cron/cron.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/cron/cron.c b/usr.sbin/cron/cron.c index a93d38e3b58..31cb72c8233 100644 --- a/usr.sbin/cron/cron.c +++ b/usr.sbin/cron/cron.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cron.c,v 1.71 2015/11/14 13:09:14 millert Exp $ */ +/* $OpenBSD: cron.c,v 1.72 2015/11/14 13:11:32 millert Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") @@ -89,8 +89,7 @@ main(int argc, char *argv[]) bzero((char *)&sact, sizeof sact); sigemptyset(&sact.sa_mask); - sact.sa_flags = 0; - sact.sa_flags |= SA_RESTART; + sact.sa_flags = SA_RESTART; sact.sa_handler = sigchld_handler; (void) sigaction(SIGCHLD, &sact, NULL); sact.sa_handler = SIG_IGN; |