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:
Joachim Wiberg
2023-09-15 09:47:42 +02:00
parent a88eb82a68
commit 1ee6c9f46b
-1
View File
@@ -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)