commit eebbf012ef8ff0beda5bfef41e3095299b3199e2
parent dc949dc6260284733c85f8a22e693fe9f77e2135
Author: Truls Becken <truls.becken@gmail.com>
Date: Sun, 6 Jul 2014 21:45:33 +0100
Log to designated syslog facility
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crond.c b/crond.c
@@ -391,7 +391,7 @@ main(int argc, char *argv[])
TAILQ_INIT(&ctabhead);
if (dflag == 1) {
- openlog(argv[0], LOG_CONS | LOG_PID, LOG_DAEMON);
+ openlog(argv[0], LOG_CONS | LOG_PID, LOG_CRON);
daemon(0, 0);
}