From 2e27a7112a766199d2b5fb24f7e5ea72ddede984 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 8 Jul 2024 06:46:08 +0200 Subject: [PATCH] statd: fix log facility and missing pid Signed-off-by: Joachim Wiberg --- src/statd/statd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/statd/statd.c b/src/statd/statd.c index b284f7b7..46a31a9c 100644 --- a/src/statd/statd.c +++ b/src/statd/statd.c @@ -523,8 +523,8 @@ static int sub_to_container(struct statd *statd) int main(int argc, char *argv[]) { struct ev_signal sigint_watcher, sigusr1_watcher; + int log_opts = LOG_PID | LOG_DAEMON; struct statd statd = {}; - int log_opts = LOG_USER; sr_conn_ctx_t *sr_conn; char *env; int err;