mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
watchdogd: drop startup message, leaks to console
We use LOG_CONS to ensure log messages reach the operator, but since watchdogd starts very early this means non-critical messages like the initial greeting leaks to console because syslogd has not yet started. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -60,7 +60,6 @@ static int init(char *progname, char *devnode)
|
||||
signal(SIGPWR, sighandler);
|
||||
|
||||
openlog(&progname[1], LOG_CONS | LOG_PID, LOG_DAEMON);
|
||||
syslog(LOG_INFO, "Finit v%s watchdog %s starting ...", VERSION, devnode);
|
||||
|
||||
fd = open(devnode, O_WRONLY);
|
||||
if (fd == -1)
|
||||
|
||||
Reference in New Issue
Block a user