[dev] [PATCH] [scron] Log to designated syslog facility

From: Truls Becken <truls.becken_AT_gmail.com>
Date: Sun, 6 Jul 2014 22:42:25 +0200

---
 crond.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crond.c b/crond.c
index d416ece..2dbbb76 100644
--- a/crond.c
+++ b/crond.c
_AT_@ -373,7 +373,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);
        }
 
-- 
1.8.4
Received on Sun Jul 06 2014 - 22:42:25 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 06 2014 - 22:48:08 CEST