syslogd: Only warn when opening /proc/kmsg fails, continue anyway
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
353cd10a06
commit
45c7dcc6df
@ -353,7 +353,7 @@ int main(int argc, char *argv[])
|
|||||||
#ifndef KLOGD
|
#ifndef KLOGD
|
||||||
/* Attempt to open kernel log pipe */
|
/* Attempt to open kernel log pipe */
|
||||||
if (opensys(_PATH_KLOG))
|
if (opensys(_PATH_KLOG))
|
||||||
err(1, "Faield opening %s", _PATH_KLOG);
|
warn("Kernel logging disabled, failed opening %s", _PATH_KLOG);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ((!Foreground) && (!Debug)) {
|
if ((!Foreground) && (!Debug)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user