From 45c7dcc6df07d1050d4f524cfb4a3dc2af8627b7 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 13 Nov 2019 09:55:33 +0100 Subject: [PATCH] syslogd: Only warn when opening /proc/kmsg fails, continue anyway Signed-off-by: Joachim Nilsson --- src/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syslogd.c b/src/syslogd.c index 54c165e..3e95e2f 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -353,7 +353,7 @@ int main(int argc, char *argv[]) #ifndef KLOGD /* Attempt to open kernel log pipe */ if (opensys(_PATH_KLOG)) - err(1, "Faield opening %s", _PATH_KLOG); + warn("Kernel logging disabled, failed opening %s", _PATH_KLOG); #endif if ((!Foreground) && (!Debug)) {