Skip to content

Commit 1ee6c9f

Browse files
committed
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 <[email protected]>
1 parent a88eb82 commit 1ee6c9f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/watchdog.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ static int init(char *progname, char *devnode)
6060
signal(SIGPWR, sighandler);
6161

6262
openlog(&progname[1], LOG_CONS | LOG_PID, LOG_DAEMON);
63-
syslog(LOG_INFO, "Finit v%s watchdog %s starting ...", VERSION, devnode);
6463

6564
fd = open(devnode, O_WRONLY);
6665
if (fd == -1)

0 commit comments

Comments
 (0)